aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-09-01 16:26:51 +0200
committerLars Knoll <lars.knoll@qt.io>2017-09-15 10:45:19 +0000
commit4ca97d7289276816545ab01c9b49bfaaa29d8f5d (patch)
tree55e88ae9444732db290d1740fbf497e2e0db9f55 /src/qml/jsruntime/qv4regexpobject_p.h
parentacd206e317fd92f20aa4985f35288f793d05f3ac (diff)
Optimize String.match()
Change-Id: Idbf2b45a35c1bd1a843e8d01a3ea2f5157291033 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4regexpobject_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h
index f04940255b..b808ec38cf 100644
--- a/src/qml/jsruntime/qv4regexpobject_p.h
+++ b/src/qml/jsruntime/qv4regexpobject_p.h
@@ -169,6 +169,8 @@ struct RegExpPrototype: RegExpObject
static ReturnedValue method_get_input(const BuiltinFunction *, CallData *callData);
static ReturnedValue method_get_leftContext(const BuiltinFunction *, CallData *callData);
static ReturnedValue method_get_rightContext(const BuiltinFunction *, CallData *callData);
+
+ static ReturnedValue execFirstMatch(const BuiltinFunction *b, CallData *callData);
};
}