diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-15 07:21:41 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-15 07:21:41 (GMT) |
commit | b2f0ae333dd2c7217bc56c69a6e8e4defb817946 (patch) | |
tree | edbd585f4a9cc4f6d4737893701fb07f327a760a | |
parent | 5edfac177fc558466e09d8c129d4ac8159725c42 (diff) | |
download | Qt-b2f0ae333dd2c7217bc56c69a6e8e4defb817946.zip Qt-b2f0ae333dd2c7217bc56c69a6e8e4defb817946.tar.gz Qt-b2f0ae333dd2c7217bc56c69a6e8e4defb817946.tar.bz2 |
compile
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp b/src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp index ccc26bb..b6ac41a 100644 --- a/src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp +++ b/src/3rdparty/webkit/JavaScriptCore/interpreter/Interpreter.cpp @@ -3112,7 +3112,7 @@ JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFi exceptionValue = createStackOverflowError(callFrame); goto vm_throw; } - int32_t expectedParams = callFrame->callee()->body()->parameterCount(); + int32_t expectedParams = static_cast<JSFunction*>(callFrame->callee())->body()->parameterCount(); int32_t inplaceArgs = min(argCount, expectedParams); int32_t i = 0; Register* argStore = callFrame->registers() + argsOffset; @@ -3489,7 +3489,7 @@ JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFi ScopeChainNode* scopeChain = callFrame->scopeChain(); Structure* structure; - JSValue prototype = callFrame[proto].jsValue(); + JSValue prototype = callFrame->r(proto).jsValue(); if (prototype.isObject()) structure = asObject(prototype)->inheritorID(); else |