Use lookups in the interpreter
authorLars Knoll <lars.knoll@digia.com>
Thu, 10 Oct 2013 09:51:42 +0000 (11:51 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 30 Oct 2013 07:29:49 +0000 (08:29 +0100)
commitb59751b146ecdf7a4b387845d9be19e4600e2911
treedddca88f6544adbf0de3ef05fbf56cbd0bdac095
parent928a7d3e3edb278281641b6928ba046b123548ca
Use lookups in the interpreter

Implement lookup calls for the interpreter. This
significantly reduces overhead by avoiding repeated
name lookups on the same object type.

This doubles the speed of quite a few of the v8
benchmarks, and brings the interpreter up to close
to 40% of the speed of the JIT.

Change-Id: Ie8c2f5b1ca71a7329bc643c3d2158a6301a392ed
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4instr_moth_p.h
src/qml/compiler/qv4isel_moth.cpp
src/qml/jsruntime/qv4vme_moth.cpp