diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-11-26 23:26:39 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2012-11-27 11:51:28 +0100 |
commit | b32c10a8d36aef52c38ad8b51cef33c100c8df9e (patch) | |
tree | ba8c937b55d09d4b1ab85631161338bd7acfb630 /qv4ir.cpp | |
parent | 102aff16a896e2e237a00843731e84ef3d824b25 (diff) |
Correctly instantiate variables in the local scope
This fixes cases where eval() would create variables
in the wrong scope.
Change-Id: Ie93ec2d1fb125e588c1b6ffa2ca8ca4b6e3112c9
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'qv4ir.cpp')
-rw-r--r-- | qv4ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -238,6 +238,8 @@ static const char *builtin_to_string(Name::Builtin b) return "builtin_push_with"; case IR::Name::builtin_pop_with: return "builtin_pop_with"; + case IR::Name::builtin_declare_vars: + return "builtin_declare_vars"; } return "builtin_(###FIXME)"; }; |