diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-08-22 16:00:40 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-08-28 11:48:52 +0000 |
commit | b56f7d6f79b0de73c405b1503bfeb71ef5caf58f (patch) | |
tree | 2be72b905ea8fe55df4efba6a724e3af1cd953bb /src/qml/jsruntime/qv4regexp.cpp | |
parent | 8ff7ce3c430d1f981e72bb588fc5710cca6272d0 (diff) |
Re-enable the YarrJIT
This makes a huge difference for regexp evaluation.
Change-Id: I6b466f60280583c85d34be8734e8fef209b7b989
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexp.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4regexp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp index 6778145ff1..fa3cbb5bcc 100644 --- a/src/qml/jsruntime/qv4regexp.cpp +++ b/src/qml/jsruntime/qv4regexp.cpp @@ -106,7 +106,7 @@ void Heap::RegExp::init(ExecutionEngine* engine, const QString &pattern, bool ig byteCode = p.take(); #if ENABLE(YARR_JIT) jitCode = new JSC::Yarr::YarrCodeBlock; - if (!yarrPattern.m_containsBackreferences && engine->iselFactory->jitCompileRegexps()) { + if (!yarrPattern.m_containsBackreferences) { JSC::JSGlobalData dummy(engine->regExpAllocator); JSC::Yarr::jitCompile(yarrPattern, JSC::Yarr::Char16, &dummy, *jitCode); } |