From 58c0be6912f6c7d6daa5665a606457e47b566968 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Thu, 29 Oct 2015 14:52:49 +0100 Subject: Fix qmlcompiler build on win32. Change-Id: Ie1239b6ba5f5ba77dd081ad6392d962822d124dc Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4runtime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime') 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(); -- cgit v1.2.3