Fix possible crash when executing invalid code.

This commit is contained in:
Roberto Raggi 2012-06-12 12:10:33 +02:00
parent b759b5f984
commit f3933836fb
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ void evaluate(QQmlJS::VM::ExecutionEngine *vm, const QString &fileName, const QS
isel(function);
}
}
if (! globalCode)
return;
}
if (!useMoth) {