Remove IR::Function from the runtime.
authorErik Verbruggen <erik.verbruggen@digia.com>
Tue, 11 Dec 2012 09:03:40 +0000 (10:03 +0100)
committerLars Knoll <lars.knoll@digia.com>
Tue, 11 Dec 2012 22:16:32 +0000 (23:16 +0100)
commit5e39d56c0974faa28c5060a12064e1ad7f611ea0
treea2f900ab936799f002e769e9a48d191af773d3d8
parentbcdddfda8ca81752b249540b0abaefb46eb5f766
Remove IR::Function from the runtime.

This fixes potential leaks of IR::Functions, lowers the memory usage
of the functions that the VM needs (because the IR fields are not
present in the VM::Function), and makes both managed by the module
respectively the ExecutionEngine.

Change-Id: I6748ad98b062f994eae9dd14f1919aec5aa7c0b0
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
19 files changed:
debugging.cpp
debugging.h
main.cpp
moth/qv4instr_moth_p.h
moth/qv4isel_moth.cpp
moth/qv4isel_moth_p.h
qmljs_engine.cpp
qmljs_engine.h
qmljs_objects.cpp
qmljs_objects.h
qmljs_runtime.cpp
qmljs_runtime.h
qv4ecmaobjects.cpp
qv4ir.cpp
qv4ir_p.h
qv4isel_masm.cpp
qv4isel_masm_p.h
qv4isel_p.cpp
qv4isel_p.h