Commit ef03bc85 by Charles Hannum

*** empty log message ***

From-SVN: r1530
parent c5caa350
...@@ -138,10 +138,23 @@ calls_alloca (exp) ...@@ -138,10 +138,23 @@ calls_alloca (exp)
break; break;
case BLOCK: case BLOCK:
/* Must not look at BLOCK_SUPERCONTEXT since it will point back to {
us. */ register tree local;
length = 3;
break; for (local = BLOCK_VARS (exp); local; local = TREE_CHAIN (local))
if (calls_alloca (DECL_INITIAL (local)))
return 1;
}
{
register tree subblock;
for (subblock = BLOCK_SUBBLOCKS (exp);
subblock;
subblock = TREE_CHAIN (subblock))
if (calls_alloca (subblock))
return 1;
}
return 0;
case METHOD_CALL_EXPR: case METHOD_CALL_EXPR:
length = 3; length = 3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment