summaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-08-10 09:21:11 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-15 14:24:45 +0000
commit5819700e0c2e17f8aa3e02bbfdf1d760906d02a4 (patch)
treefe9428685a6e8086ea14ed61d65d0164027397b0 /src/qml/jsruntime/qv4engine_p.h
parentb862d429b1010fecf2e29d0e781b012a4b07cad6 (diff)
Fix spec compliance for the RegExp constructor
Change-Id: I767b27faab912e91962797ca154d929473113cc1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 3a782ae097..00879511d3 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -327,6 +327,8 @@ public:
String_multiline,
String_unicode,
String_sticky,
+ String_source,
+ String_flags,
NJSStrings
};
@@ -395,6 +397,8 @@ public:
String *id_multiline() const { return reinterpret_cast<String *>(jsStrings + String_multiline); }
String *id_unicode() const { return reinterpret_cast<String *>(jsStrings + String_unicode); }
String *id_sticky() const { return reinterpret_cast<String *>(jsStrings + String_sticky); }
+ String *id_source() const { return reinterpret_cast<String *>(jsStrings + String_source); }
+ String *id_flags() const { return reinterpret_cast<String *>(jsStrings + String_flags); }
Symbol *symbol_hasInstance() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_hasInstance); }
Symbol *symbol_isConcatSpreadable() const { return reinterpret_cast<Symbol *>(jsSymbols + Symbol_isConcatSpreadable); }