diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-09-28 13:14:00 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-09-28 13:14:00 (GMT) |
commit | 58b40ab2220b9af4d2e679f23f07e425f9075dbd (patch) | |
tree | b1da974247685a5034a2516a1bac457329baa127 /src/3rdparty/javascriptcore/JavaScriptCore | |
parent | c9efa5704ba89736e90d7a28e07687a826874232 (diff) | |
parent | 726ce1dcba37d85bc743559e1b882a72413d1d82 (diff) | |
download | Qt-58b40ab2220b9af4d2e679f23f07e425f9075dbd.zip Qt-58b40ab2220b9af4d2e679f23f07e425f9075dbd.tar.gz Qt-58b40ab2220b9af4d2e679f23f07e425f9075dbd.tar.bz2 |
Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp index ec242cc..c31216b 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp @@ -435,7 +435,7 @@ void Interpreter::dumpRegisters(CallFrame* callFrame) printf("[ReturnPC] | %10p | %p \n", it, (*it).vPC()); ++it; printf("[ReturnValueRegister] | %10p | %d \n", it, (*it).i()); ++it; printf("[ArgumentCount] | %10p | %d \n", it, (*it).i()); ++it; - printf("[Callee] | %10p | %p \n", it, (*it).function()); ++it; + printf("[Callee] | %10p | %p \n", it, (*it).object()); ++it; printf("[OptionalCalleeArguments] | %10p | %p \n", it, (*it).arguments()); ++it; printf("-----------------------------------------------------------------------------\n"); @@ -3113,7 +3113,7 @@ JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFi exceptionValue = createStackOverflowError(callFrame); goto vm_throw; } - ASSERT(!callFrame->callee()->isHostFunction()); + ASSERT(!asFunction(callFrame->callee())->isHostFunction()); int32_t expectedParams = static_cast<JSFunction*>(callFrame->callee())->jsExecutable()->parameterCount(); int32_t inplaceArgs = min(argCount, expectedParams); int32_t i = 0; |