diff options
Diffstat (limited to 'src/qml/compiler/qv4compileddata.cpp')
| -rw-r--r-- | src/qml/compiler/qv4compileddata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp index 98aa6bb180..c39cf51a1a 100644 --- a/src/qml/compiler/qv4compileddata.cpp +++ b/src/qml/compiler/qv4compileddata.cpp @@ -572,8 +572,8 @@ void CompilationUnit::evaluate() QV4::Function *moduleFunction = runtimeFunctions[data->indexOfRootFunction]; CppStackFrame frame; frame.init(engine, moduleFunction, nullptr, 0); - frame.setupJSFrame(engine->jsStackTop, Primitive::undefinedValue(), m_module->scope, - Primitive::undefinedValue(), Primitive::undefinedValue()); + frame.setupJSFrame(engine->jsStackTop, Value::undefinedValue(), m_module->scope, + Value::undefinedValue(), Value::undefinedValue()); frame.push(); engine->jsStackTop += frame.requiredJSStackFrameSize(); |
