diff ir/irfunction.cpp @ 1212:df2227fdc860

For the outermost function needing a context frame, use the address of that frame as the nest argument instead of the address of a single-element list containing only that frame address. This saves some stack space and reduces memory accesses.
author Frits van Bommel <fvbommel wxs.nl>
date Mon, 13 Apr 2009 04:09:08 +0200
parents 8699c450a1a0
children 033f18ec1371
line wrap: on
line diff
--- a/ir/irfunction.cpp	Sun Apr 12 22:22:15 2009 +0200
+++ b/ir/irfunction.cpp	Mon Apr 13 04:09:08 2009 +0200
@@ -109,6 +109,7 @@
     retArg = NULL;
     thisArg = NULL;
     nestArg = NULL;
+    elidedCtxList = false;
 
     nestedVar = NULL;
     framesType = NULL;