mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01: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:
@@ -109,6 +109,7 @@ IrFunction::IrFunction(FuncDeclaration* fd)
|
||||
retArg = NULL;
|
||||
thisArg = NULL;
|
||||
nestArg = NULL;
|
||||
elidedCtxList = false;
|
||||
|
||||
nestedVar = NULL;
|
||||
framesType = NULL;
|
||||
|
||||
Reference in New Issue
Block a user