diff gcc/function.c @ 82:895e19fe9c22

modify calls.c
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Fri, 11 Nov 2011 02:35:16 +0900
parents 1b10fe6932e1
children 6fb1a677d0b5
line wrap: on
line diff
--- a/gcc/function.c	Sat Sep 24 02:41:02 2011 +0900
+++ b/gcc/function.c	Fri Nov 11 02:35:16 2011 +0900
@@ -65,6 +65,12 @@
 #include "timevar.h"
 #include "vecprim.h"
 
+#ifndef noCbC
+#include "cbc-tree.h"
+#define CbC_STACK_SIZE (1024 * 8)
+#endif
+
+
 /* So we can assign to cfun in this file.  */
 #undef cfun
 
@@ -3481,8 +3487,8 @@
     }
 
 #ifndef noCbC
-  //if (CbC_IS_CODE_SEGMENT(TREE_TYPE(fndecl)) )
-    //all.stack_args_size.constant = CbC_STACK_SIZE;
+  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.  */