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();
return Deprecated::ScriptValue();
JSValue result;
- JSValue exception;
+ NakedPtr<Exception> 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;