Correctly instantiate variables in the local scope
authorLars Knoll <lars.knoll@digia.com>
Mon, 26 Nov 2012 22:26:39 +0000 (23:26 +0100)
committerErik Verbruggen <erik.verbruggen@digia.com>
Tue, 27 Nov 2012 10:51:28 +0000 (11:51 +0100)
commitb32c10a8d36aef52c38ad8b51cef33c100c8df9e
treeba8c937b55d09d4b1ab85631161338bd7acfb630
parent102aff16a896e2e237a00843731e84ef3d824b25
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>
qmljs_environment.cpp
qmljs_environment.h
qmljs_objects.cpp
qmljs_runtime.cpp
qmljs_runtime.h
qv4codegen.cpp
qv4ir.cpp
qv4ir_p.h
qv4isel_masm.cpp