diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/Arguments.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/Arguments.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/runtime/Arguments.h b/Source/JavaScriptCore/runtime/Arguments.h index 8e7af1844..a1f36de56 100644 --- a/Source/JavaScriptCore/runtime/Arguments.h +++ b/Source/JavaScriptCore/runtime/Arguments.h @@ -158,7 +158,7 @@ namespace JSC { Base::finishCreation(callFrame->globalData()); ASSERT(inherits(&s_info)); - JSFunction* callee = asFunction(callFrame->callee()); + JSFunction* callee = jsCast<JSFunction*>(callFrame->callee()); d->numArguments = callFrame->argumentCount(); d->registers = reinterpret_cast<WriteBarrier<Unknown>*>(callFrame->registers()); d->callee.set(callFrame->globalData(), this, callee); |