Mercurial > projects > ldc
comparison ir/irfunction.cpp @ 1223:5f340a6dc749
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.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 17 Apr 2009 13:50:01 +0200 |
parents | 033f18ec1371 |
children | 3f5ea912149d |
comparison
equal
deleted
inserted
replaced
1222:b6370749ec8d | 1223:5f340a6dc749 |
---|---|
110 thisArg = NULL; | 110 thisArg = NULL; |
111 nestArg = NULL; | 111 nestArg = NULL; |
112 | 112 |
113 nestedVar = NULL; | 113 nestedVar = NULL; |
114 frameType = NULL; | 114 frameType = NULL; |
115 depth = 0; | 115 depth = -1; |
116 | 116 |
117 _arguments = NULL; | 117 _arguments = NULL; |
118 _argptr = NULL; | 118 _argptr = NULL; |
119 | 119 |
120 nextUnique.push(0); | 120 nextUnique.push(0); |