diff options
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h b/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h index 767c262acc..b9fa484649 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h @@ -40,7 +40,8 @@ namespace JSC { , m_exception(exception) , m_globalObjectScope(callFrame, callFrame->globalData().dynamicGlobalObject ? callFrame->globalData().dynamicGlobalObject : function->scope().node()->globalObject()) { - m_closure = m_interpreter->prepareForRepeatCall(function->body(), callFrame, function, argCount, function->scope().node(), exception); + ASSERT(!function->isHostFunction()); + m_closure = m_interpreter->prepareForRepeatCall(function->jsExecutable(), callFrame, function, argCount, function->scope().node(), exception); m_valid = !*exception; } |