aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4vm/qv4regexp_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/v4vm/qv4regexp_p.h')
-rw-r--r--src/qml/qml/v4vm/qv4regexp_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/qml/v4vm/qv4regexp_p.h b/src/qml/qml/v4vm/qv4regexp_p.h
index e8b01953bc..30b707ef4e 100644
--- a/src/qml/qml/v4vm/qv4regexp_p.h
+++ b/src/qml/qml/v4vm/qv4regexp_p.h
@@ -52,6 +52,7 @@
#include <yarr/Yarr.h>
#include <yarr/YarrInterpreter.h>
+#include <yarr/YarrJIT.h>
#include "qv4managed_p.h"
#include "qv4engine_p.h"
@@ -101,7 +102,7 @@ public:
bool isValid() const { return m_byteCode.get(); }
- uint match(const QString& string, int start, uint *matchOffsets) const;
+ uint match(const QString& string, int start, uint *matchOffsets);
bool ignoreCase() const { return m_ignoreCase; }
bool multiLine() const { return m_multiLine; }
@@ -128,6 +129,9 @@ private:
const QString m_pattern;
OwnPtr<JSC::Yarr::BytecodePattern> m_byteCode;
+#if ENABLE(YARR_JIT)
+ JSC::Yarr::YarrCodeBlock m_jitCode;
+#endif
RegExpCache *m_cache;
int m_subPatternCount;
const bool m_ignoreCase;