diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-08-27 14:38:24 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-09-22 08:19:59 +0000 |
commit | 9420eb5c4e55d68b996bb0120db1f2dfeeef3a8c (patch) | |
tree | b8d3e9b6c41f728de1749f5fe029046277c4a9d4 /src/qml/jsruntime/qv4object.cpp | |
parent | 17a0c271e0ec606d15fc87dab23b2e3750c0e301 (diff) |
Use the new construction scheme for RegExpObjects
Gives around 10% speed improvement on the v8 regexp
benchmark.
Change-Id: Iad37bcbc79ccbfb92f65852b660364c919862a75
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4object.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp index c8b703e198..2245e1de61 100644 --- a/src/qml/jsruntime/qv4object.cpp +++ b/src/qml/jsruntime/qv4object.cpp @@ -215,7 +215,6 @@ void Object::markObjects(Heap::Base *that, ExecutionEngine *e) if (o->inlineMemberSize) { Value *v = o->propertyData(0); - Q_ASSERT(((char *)v) - ((char *)that) == sizeof(Heap::Object)); for (uint i = 0; i < o->inlineMemberSize; ++i) v[i].mark(e); } |