aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-08-27 14:38:24 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2015-09-22 08:19:59 +0000
commit9420eb5c4e55d68b996bb0120db1f2dfeeef3a8c (patch)
treeb8d3e9b6c41f728de1749f5fe029046277c4a9d4 /src/qml/jsruntime/qv4engine_p.h
parent17a0c271e0ec606d15fc87dab23b2e3750c0e301 (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/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index dc57f05ba1..64c3d1cb99 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -230,6 +230,7 @@ public:
InternalClass *protoClass;
InternalClass *regExpExecArrayClass;
+ InternalClass *regExpObjectClass;
InternalClass *argumentsObjectClass;
InternalClass *strictArgumentsObjectClass;