Implement a first iteration of the fast property lookup scheme
authorLars Knoll <lars.knoll@digia.com>
Tue, 12 Feb 2013 15:23:52 +0000 (16:23 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 12 Feb 2013 21:48:19 +0000 (22:48 +0100)
commit4be3e757348fc393cb93dbf8f9fc81ea6d57a408
tree4dd2d305c6ff1d9832bd50b6e08101971530b320
parent6cd0e478860382d4ab5cf50383a464f0780893b4
Implement a first iteration of the fast property lookup scheme

Fast lookups still require a function call, and will only work
for properties defined on the object itself. Properties of the
prototype will still be slow.

Change-Id: I07c601998d312b1bd8e9977708d3375bf72df3e3
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
16 files changed:
src/v4/qmljs_environment.cpp
src/v4/qmljs_environment.h
src/v4/qmljs_runtime.cpp
src/v4/qmljs_runtime.h
src/v4/qv4functionobject.cpp
src/v4/qv4functionobject.h
src/v4/qv4globalobject.cpp
src/v4/qv4isel_masm.cpp
src/v4/qv4isel_masm_p.h
src/v4/qv4isel_p.cpp
src/v4/qv4isel_p.h
src/v4/qv4object.cpp
src/v4/qv4object.h
tests/fact.2.js
tests/property_lookup.js [new file with mode: 0644]
tools/v4/main.cpp