aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/trans.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-09-25 19:29:23 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-09-25 19:29:23 +0000
commit0a86bcc9251e57dcb5dd33601171b456ef493cd5 (patch)
treea3b8b7b68b795fa17dd7163c0bc51b461768723f /gcc/ada/trans.c
parentdc3ca06f596b070de7ab337b23d7db22aa25e8fc (diff)
downloadgcc-0a86bcc9251e57dcb5dd33601171b456ef493cd5.zip
gcc-0a86bcc9251e57dcb5dd33601171b456ef493cd5.tar.gz
gcc-0a86bcc9251e57dcb5dd33601171b456ef493cd5.tar.bz2
trans.c: Fix misplaced #define.
* trans.c: Fix misplaced #define. From-SVN: r128771
Diffstat (limited to 'gcc/ada/trans.c')
-rw-r--r--gcc/ada/trans.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c
index 1a4067c..e6f9ef8 100644
--- a/gcc/ada/trans.c
+++ b/gcc/ada/trans.c
@@ -57,6 +57,11 @@
#include "ada-tree.h"
#include "gigi.h"
+/* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca,
+ for fear of running out of stack space. If we need more, we use xmalloc
+ instead. */
+#define ALLOCA_THRESHOLD 1000
+
/* Let code below know whether we are targetting VMS without need of
intrusive preprocessor directives. */
#ifndef TARGET_ABI_OPEN_VMS
@@ -101,11 +106,6 @@ DEF_VEC_ALLOC_P(parm_attr,gc);
struct language_function GTY(())
{
-/* We should avoid allocating more than ALLOCA_THRESHOLD bytes via alloca, for
- fear of running out of stack space. If we need more, we use xmalloc/free
- instead. */
-#define ALLOCA_THRESHOLD 1000
-
VEC(parm_attr,gc) *parm_attr_cache;
};