ref: ec1385e4eeb73318684695de73cb61f276deb887
parent: 174e930c17cade4b9cd8e5a3805c3214ab100843
author: Ori Bernstein <[email protected]>
date: Tue Feb 5 20:47:35 EST 2013
Only put stack temps on the stack. Locals should go in registers.
--- a/6/simp.c
+++ b/6/simp.c
@@ -331,7 +331,8 @@
assert(e->type == Nexpr);
t = gentemp(simp, e, e->expr.type, &dcl);
- declarelocal(simp, dcl);
+ if (stacknode(e))
+ declarelocal(simp, dcl);
return t;
}