Speed up object literal construction
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 23 Apr 2013 05:31:02 +0000 (07:31 +0200)
committerLars Knoll <lars.knoll@digia.com>
Sun, 28 Apr 2013 19:18:09 +0000 (21:18 +0200)
commit659f4ffe1f09069980efba4eb5673fcf55d9d603
tree853a94a70cc6f94769acb4383685579f79569819
parentaa6c7d0f6cb8eb57600d409da3ecb2157aed5046
Speed up object literal construction

Define the internal class at compile (isel) time, so that creation
of the object at run-time is very fast.

Change-Id: Ie153cda695cefde9d7118a7a65f1ff7e78f120cc
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
17 files changed:
src/qml/qml/v4vm/moth/qv4instr_moth_p.h
src/qml/qml/v4vm/moth/qv4isel_moth.cpp
src/qml/qml/v4vm/moth/qv4isel_moth_p.h
src/qml/qml/v4vm/moth/qv4vme_moth.cpp
src/qml/qml/v4vm/qv4codegen.cpp
src/qml/qml/v4vm/qv4engine.cpp
src/qml/qml/v4vm/qv4engine_p.h
src/qml/qml/v4vm/qv4isel_masm.cpp
src/qml/qml/v4vm/qv4isel_masm_p.h
src/qml/qml/v4vm/qv4isel_p.cpp
src/qml/qml/v4vm/qv4isel_p.h
src/qml/qml/v4vm/qv4jsir.cpp
src/qml/qml/v4vm/qv4jsir_p.h
src/qml/qml/v4vm/qv4object.cpp
src/qml/qml/v4vm/qv4object_p.h
src/qml/qml/v4vm/qv4runtime.cpp
src/qml/qml/v4vm/qv4runtime_p.h