diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-08-22 12:11:40 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-08-26 16:45:26 +0200 |
commit | b926452f6c98e35fd87706fc637240cb47bac4bf (patch) | |
tree | 4cda0562b5544115177b732ad5df6f092d87d0a6 /src/qml/compiler/qv4isel_p.cpp | |
parent | 39286a50c32321981adb82ea47c93b7398b257d8 (diff) |
V4: disable type inference and loop peeling for the interpreter.
Loop peeling is always disabled. Type inference is still enabled for
QML code, because of the static-type nature of the properties.
This speeds up crypto.js by 20%.
Change-Id: Ibf51cb36f8904d64df0793980d463451dfd361e2
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_p.cpp')
-rw-r--r-- | src/qml/compiler/qv4isel_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_p.cpp b/src/qml/compiler/qv4isel_p.cpp index 9e15e457cf..f160954f84 100644 --- a/src/qml/compiler/qv4isel_p.cpp +++ b/src/qml/compiler/qv4isel_p.cpp @@ -51,6 +51,7 @@ using namespace QV4::IR; EvalInstructionSelection::EvalInstructionSelection(QV4::ExecutableAllocator *execAllocator, Module *module, QV4::Compiler::JSUnitGenerator *jsGenerator) : useFastLookups(true) + , useTypeInference(true) , executableAllocator(execAllocator) , irModule(module) { |