mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
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.
This commit is contained in:
parent
cc492ecc82
commit
5a04c4e9a1
3 changed files with 87 additions and 29 deletions
|
@ -109,6 +109,7 @@ IrFunction::IrFunction(FuncDeclaration* fd)
|
|||
retArg = NULL;
|
||||
thisArg = NULL;
|
||||
nestArg = NULL;
|
||||
elidedCtxList = false;
|
||||
|
||||
nestedVar = NULL;
|
||||
framesType = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue