comparison gcc/calls.c~ @ 86:12b3180c7d07

modify calls.c.
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Thu, 15 Dec 2011 02:37:13 +0900
parents 6fb1a677d0b5
children f214c1d5b862
comparison
equal deleted inserted replaced
85:32380d8cb035 86:12b3180c7d07
2351 || (fndecl && decl_function_context (fndecl) == current_function_decl) 2351 || (fndecl && decl_function_context (fndecl) == current_function_decl)
2352 /* If this function requires more stack slots than the current 2352 /* If this function requires more stack slots than the current
2353 function, we cannot change it into a sibling call. 2353 function, we cannot change it into a sibling call.
2354 crtl->args.pretend_args_size is not part of the 2354 crtl->args.pretend_args_size is not part of the
2355 stack allocated by our caller. */ 2355 stack allocated by our caller. */
2356 #ifndef noCbC
2357 || (args_size.constant > (crtl->args.size
2358 - crtl->args.pretend_args_size)
2359 && (!fndecl || !CbC_IS_CODE_SEGMENT (TREE_TYPE (fndecl))))
2360 #else
2356 || args_size.constant > (crtl->args.size 2361 || args_size.constant > (crtl->args.size
2357 - crtl->args.pretend_args_size) 2362 - crtl->args.pretend_args_size)
2363 #endif
2358 /* If the callee pops its own arguments, then it must pop exactly 2364 /* If the callee pops its own arguments, then it must pop exactly
2359 the same number of arguments as the current function. */ 2365 the same number of arguments as the current function. */
2360 || (targetm.calls.return_pops_args (fndecl, funtype, args_size.constant) 2366 || (targetm.calls.return_pops_args (fndecl, funtype, args_size.constant)
2361 != targetm.calls.return_pops_args (current_function_decl, 2367 != targetm.calls.return_pops_args (current_function_decl,
2362 TREE_TYPE (current_function_decl), 2368 TREE_TYPE (current_function_decl),