Fix eval operating on incorrect runtime data
authorSimon Hausmann <simon.hausmann@digia.com>
Sat, 17 Aug 2013 10:08:21 +0000 (12:08 +0200)
committerLars Knoll <lars.knoll@digia.com>
Sun, 18 Aug 2013 10:28:24 +0000 (12:28 +0200)
commit45dacdaa788eeac64148465658b6af2d2fa552cf
tree2e527ab9e1b3de23e7dac8011cefc8609ba1d26d
parent314a977217fc158f17fbdda85d7e80edbccc7c7d
Fix eval operating on incorrect runtime data

Moved compilationUnit and compiledFunction into the context and set it also
during eval, along with the runtime strings.

Change-Id: I627b3bea0f7c38ad91bc5e8ee85e1484d08ed3f3
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4context.cpp
src/qml/jsruntime/qv4context_p.h
src/qml/jsruntime/qv4globalobject.cpp
src/qml/jsruntime/qv4runtime.cpp
src/qml/jsruntime/qv4script.cpp
src/qml/jsruntime/qv4vme_moth.cpp