Mercurial > hg > CbC > CbC_gcc
diff gcc/function.c @ 112:ab0bcb71f44d
merge gcc 7
author | mir3636 |
---|---|
date | Fri, 10 Nov 2017 19:46:38 +0900 |
parents | 04ced10e8804 6fb1a677d0b5 |
children | 4c56639505ff |
line wrap: on
line diff
--- a/gcc/function.c Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/function.c Fri Nov 10 19:46:38 2017 +0900 @@ -80,6 +80,8 @@ #include "stringpool.h" #include "attribs.h" + + /* So we can assign to cfun in this file. */ #undef cfun @@ -3871,6 +3873,11 @@ set_parm_rtl (result, x); } +#ifndef noCbC + // if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) ) + // all.stack_args_size.constant = CbC_STACK_SIZE; +#endif + /* We have aligned all the args, so add space for the pretend args. */ crtl->args.pretend_args_size = all.pretend_args_size; all.stack_args_size.constant += all.extra_pretend_bytes;