diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-01-20 16:01:26 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-23 21:47:27 +0100 |
commit | 9fb297a54bd0226b4827b5d7ca093a7f9c4922fa (patch) | |
tree | b53967ff783246a094ccd136f8f8acc2bb511949 /src/qml/jsruntime/qv4string.cpp | |
parent | 07429ea2a581dbf25d36e51375918e4cdb0962c9 (diff) |
Turn ArrayData into a Managed object
Memory manage ArrayData. Once the ArrayData is moved
to be inline inside the object, this will save quite
some time for allocating and freeing arrays.
Change-Id: I19a520161d41bfe3d83f377af0b41db4ac5b99e4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4string.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index 15d27b3f49..3d0328dfcf 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -103,19 +103,7 @@ static uint toArrayIndex(const char *ch, const char *end, bool *ok) const ObjectVTable String::static_vtbl = { - { - String::IsExecutionContext, - String::IsString, - String::IsObject, - String::IsFunctionObject, - String::IsErrorObject, - 0, - String::MyType, - "String", - destroy, - markObjects, - isEqualTo - }, + DEFINE_MANAGED_VTABLE_INT(String), 0, 0, 0 /*collectDeletables*/, |