Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1211:50dc0db06238 | 1212:df2227fdc860 |
---|---|
107 defined = false; | 107 defined = false; |
108 | 108 |
109 retArg = NULL; | 109 retArg = NULL; |
110 thisArg = NULL; | 110 thisArg = NULL; |
111 nestArg = NULL; | 111 nestArg = NULL; |
112 elidedCtxList = false; | |
112 | 113 |
113 nestedVar = NULL; | 114 nestedVar = NULL; |
114 framesType = NULL; | 115 framesType = NULL; |
115 | 116 |
116 _arguments = NULL; | 117 _arguments = NULL; |