move methods to create a new context into the ExecutionContext class
authorLars Knoll <lars.knoll@digia.com>
Wed, 21 Aug 2013 13:00:09 +0000 (15:00 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Sep 2013 15:27:36 +0000 (17:27 +0200)
commitda2f24d8e5c32fe4ed45dcb89aa357465f85fc1e
tree490d63078e83280990fc8c1b416d2d17600ea7d2
parent29f946cdad013d759aad05cbd22f40d0c152d6f3
move methods to create a new context into the ExecutionContext class

This avoids one indirection when calling the methods and cleans up
the engine a bit.

Change-Id: I426f41e23f6a7262af95b9807b00920530fef642
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4context.cpp
src/qml/jsruntime/qv4context_p.h
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4engine_p.h
src/qml/jsruntime/qv4runtime.cpp
src/qml/jsruntime/qv4script.cpp