V4: disable type inference and loop peeling for the interpreter.
authorErik Verbruggen <erik.verbruggen@digia.com>
Fri, 22 Aug 2014 10:11:40 +0000 (12:11 +0200)
committerErik Verbruggen <erik.verbruggen@digia.com>
Tue, 26 Aug 2014 14:45:26 +0000 (16:45 +0200)
commitb926452f6c98e35fd87706fc637240cb47bac4bf
tree4cda0562b5544115177b732ad5df6f092d87d0a6
parent39286a50c32321981adb82ea47c93b7398b257d8
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>
src/qml/compiler/qqmltypecompiler.cpp
src/qml/compiler/qv4isel_moth.cpp
src/qml/compiler/qv4isel_p.cpp
src/qml/compiler/qv4isel_p.h
src/qml/compiler/qv4jsir.cpp
src/qml/compiler/qv4ssa.cpp
src/qml/compiler/qv4ssa_p.h