diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-10-29 14:52:49 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-10-29 15:22:03 +0000 |
commit | 58c0be6912f6c7d6daa5665a606457e47b566968 (patch) | |
tree | 0c47fcf7cfa780ed57fcf5ed951bff91b4895ec0 /src/qml/jsruntime/qv4runtime.cpp | |
parent | ffab65a1e29d51da39c1be5bb24e6bf972be1281 (diff) |
Fix qmlcompiler build on win32.
Change-Id: Ie1239b6ba5f5ba77dd081ad6392d962822d124dc
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 4 |
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(); |