Mercurial > hg > CbC > CbC_gcc
comparison gcc/calls.c @ 127:4c56639505ff
fix function.c and add CbC-example Makefile
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 18:46:58 +0900 |
parents | 49957f95a4d1 |
children | fe568345ddd5 |
comparison
equal
deleted
inserted
replaced
126:5d30d517ebed | 127:4c56639505ff |
---|---|
3373 | 3373 |
3374 preferred_unit_stack_boundary = preferred_stack_boundary / BITS_PER_UNIT; | 3374 preferred_unit_stack_boundary = preferred_stack_boundary / BITS_PER_UNIT; |
3375 | 3375 |
3376 #ifndef noCbC | 3376 #ifndef noCbC |
3377 if ( fntype | 3377 if ( fntype |
3378 && CbC_IS_CbC_GOTO (exp) // it's better? than CALL_EXPR_TAILCALL() | 3378 //&& CbC_IS_CbC_GOTO (exp) // it's better? than CALL_EXPR_TAILCALL() |
3379 && CALL_EXPR_TAILCALL(exp) | |
3379 && CbC_IS_CODE_SEGMENT (TREE_TYPE (current_function_decl)) | 3380 && CbC_IS_CODE_SEGMENT (TREE_TYPE (current_function_decl)) |
3380 ) | 3381 ) |
3381 { | 3382 { |
3382 | 3383 |
3383 args_size.constant = CbC_PRETENDED_STACK_SIZE; | 3384 args_size.constant = CbC_PRETENDED_STACK_SIZE; |