diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp index 90e705e42f..0ee7445477 100644 --- a/src/qml/jsruntime/qv4engine.cpp +++ b/src/qml/jsruntime/qv4engine.cpp @@ -666,12 +666,12 @@ Heap::DateObject *ExecutionEngine::newDateObjectFromTime(const QTime &t) Heap::RegExpObject *ExecutionEngine::newRegExpObject(const QString &pattern, int flags) { - bool global = (flags & IR::RegExp::RegExp_Global); + bool global = (flags & QV4::CompiledData::RegExp::RegExp_Global); bool ignoreCase = false; bool multiline = false; - if (flags & IR::RegExp::RegExp_IgnoreCase) + if (flags & QV4::CompiledData::RegExp::RegExp_IgnoreCase) ignoreCase = true; - if (flags & IR::RegExp::RegExp_Multiline) + if (flags & QV4::CompiledData::RegExp::RegExp_Multiline) multiline = true; Scope scope(this); |