Allow only the ExecutionEngine's StringPool to create Strings.
authorErik Verbruggen <erik.verbruggen@digia.com>
Tue, 4 Dec 2012 11:00:23 +0000 (12:00 +0100)
committerLars Knoll <lars.knoll@digia.com>
Tue, 4 Dec 2012 17:56:56 +0000 (18:56 +0100)
commit955f5f03afd9915b7f43ff07ce4b624a86c58a1a
tree90eeb1d31ec3b976c38ec615a4dd28bed188f441
parent070e0d07d821342bfbe7a409a51c4c53185c62c7
Allow only the ExecutionEngine's StringPool to create Strings.

Strings are the only non-Object Values living on the heap. So by
tracking creation, we can help the future GC a lot.

Change-Id: I5d5044f9ff10da42aeb75dd4a556d6ab3d839b1a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
main.cpp
qmljs_environment.cpp
qmljs_environment.h
qmljs_objects.cpp
qmljs_objects.h
qv4codegen.cpp
qv4codegen_p.h
qv4ecmaobjects.cpp