Fix nested functions.

My last patch was a little over-zealous in passing `undef`, it always passed
`undef` to inner functions expecting a single context frame.
This commit is contained in:
Frits van Bommel
2009-04-17 13:50:01 +02:00
parent 0262a6ec8f
commit 46565f1adc
3 changed files with 40 additions and 33 deletions

View File

@@ -112,7 +112,7 @@ IrFunction::IrFunction(FuncDeclaration* fd)
nestedVar = NULL;
frameType = NULL;
depth = 0;
depth = -1;
_arguments = NULL;
_argptr = NULL;