projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9edd696
)
Don't reset the function pointer in leaveCallContext()
author
Lars Knoll
<lars.knoll@digia.com>
Thu, 13 Dec 2012 11:11:47 +0000
(12:11 +0100)
committer
Simon Hausmann
<simon.hausmann@digia.com>
Thu, 13 Dec 2012 11:38:26 +0000
(12:38 +0100)
We need the function pointer to be able to map variable names
correctly. Fixes the remaining problems with nested functions
and closures.
Change-Id: I976be2df57b93edb3b762afc33790c4483430b05
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_environment.cpp
patch
|
blob
|
history
diff --git
a/qmljs_environment.cpp
b/qmljs_environment.cpp
index
e785d89
..
c4177ad
100644
(file)
--- a/
qmljs_environment.cpp
+++ b/
qmljs_environment.cpp
@@
-432,7
+432,6
@@
void ExecutionContext::leaveCallContext()
}
engine->current = parent;
parent = 0;
- function = 0;
if (engine->debugger)
engine->debugger->justLeft(this);