trans.c: Fix misplaced #define.

* trans.c: Fix misplaced #define.

From-SVN: r128771
This commit is contained in:
Eric Botcazou 2007-09-25 19:29:23 +00:00 committed by Eric Botcazou
parent dc3ca06f59
commit 0a86bcc925
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2007-09-25 Eric Botcazou <ebotcazou@adacore.com>
* trans.c: Fix misplaced #define.
2007-09-22 Eric Botcazou <ebotcazou@adacore.com>
* utils2.c (build_unary_op) <ADDR_EXPR> [INDIRECT_REF]: Propagate

View File

@ -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;
};