X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..HEAD:/bindings/ScriptFunctionCall.cpp diff --git a/bindings/ScriptFunctionCall.cpp b/bindings/ScriptFunctionCall.cpp index 2df7876..f7254d9 100644 --- a/bindings/ScriptFunctionCall.cpp +++ b/bindings/ScriptFunctionCall.cpp @@ -121,7 +121,7 @@ Deprecated::ScriptValue ScriptFunctionCall::call(bool& hadException) JSLockHolder lock(m_exec); - JSValue function = thisObject->get(m_exec, Identifier(m_exec, m_name)); + JSValue function = thisObject->get(m_exec, Identifier::fromString(m_exec, m_name)); if (m_exec->hadException()) { hadException = true; return Deprecated::ScriptValue(); @@ -133,11 +133,11 @@ Deprecated::ScriptValue ScriptFunctionCall::call(bool& hadException) return Deprecated::ScriptValue(); JSValue result; - JSValue exception; + NakedPtr exception; if (m_callHandler) - result = m_callHandler(m_exec, function, callType, callData, thisObject, m_arguments, &exception); + result = m_callHandler(m_exec, function, callType, callData, thisObject, m_arguments, exception); else - result = JSC::call(m_exec, function, callType, callData, thisObject, m_arguments, &exception); + result = JSC::call(m_exec, function, callType, callData, thisObject, m_arguments, exception); if (exception) { hadException = true;