From 8a0dad67ae16a6b49e40de37ea406ee7bf3c64d2 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 20 Jun 2017 14:30:03 +0200 Subject: Fix exception handling Fix all exception handling related test failures in test262. Change-Id: Iba50238627c31705a4878b43abbb8f20f0ecee88 Reviewed-by: Erik Verbruggen --- src/qml/jsruntime/qv4function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4function.cpp') diff --git a/src/qml/jsruntime/qv4function.cpp b/src/qml/jsruntime/qv4function.cpp index 4c8117527c..e4402d4aa0 100644 --- a/src/qml/jsruntime/qv4function.cpp +++ b/src/qml/jsruntime/qv4function.cpp @@ -83,7 +83,7 @@ Function::Function(ExecutionEngine *engine, CompiledData::CompilationUnit *unit, for (quint32 i = 0; i < compiledFunction->nLocals; ++i) internalClass = internalClass->addMember(compilationUnit->runtimeStrings[localsIndices[i]]->identifier, Attr_NotConfigurable); - canUseSimpleCall = compiledFunction->flags & CompiledData::Function::CanUseSimpleCall; + canUseSimpleCall = false;//compiledFunction->flags & CompiledData::Function::CanUseSimpleCall; } Function::~Function() -- cgit v1.2.3