aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-10-29 14:52:49 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-10-29 15:22:03 +0000
commit58c0be6912f6c7d6daa5665a606457e47b566968 (patch)
tree0c47fcf7cfa780ed57fcf5ed951bff91b4895ec0 /src/qml/jsruntime
parentffab65a1e29d51da39c1be5bb24e6bf972be1281 (diff)
Fix qmlcompiler build on win32.
Change-Id: Ie1239b6ba5f5ba77dd081ad6392d962822d124dc Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index 0e90a3d021..a988313f5f 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -1363,13 +1363,13 @@ unsigned Runtime::doubleToUInt(const double &d)
return Primitive::toUInt32(d);
}
+#ifndef V4_BOOTSTRAP
+
ReturnedValue Runtime::getQmlContext(NoThrowEngine *engine)
{
return engine->qmlContext()->asReturnedValue();
}
-#ifndef V4_BOOTSTRAP
-
ReturnedValue Runtime::regexpLiteral(ExecutionEngine *engine, int id)
{
return engine->current->compilationUnit->runtimeRegularExpressions[id].asReturnedValue();