Ignore:
Timestamp:
May 3, 2009, 12:56:13 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2009-05-03 Sam Weinig <[email protected]>

Roll JSC API number marshaling back out. It still breaks windows.

WebCore:

2009-05-03 Sam Weinig <[email protected]>

Roll JSC API number marshaling back out. It still breaks windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSCallbackFunction.cpp

    r43157 r43158  
    5656    Vector<JSValueRef, 16> arguments(argumentCount);
    5757    for (int i = 0; i < argumentCount; i++)
    58         arguments[i] = toRef(exec, args.at(i));
     58        arguments[i] = toRef(args.at(i));
    5959
    60     JSValueRef exception = 0;
    61     JSValueRef result;
    62     {
    63         JSLock::DropAllLocks dropAllLocks(exec);
    64         result = static_cast<JSCallbackFunction*>(functionObject)->m_callback(execRef, functionRef, thisObjRef, argumentCount, arguments.data(), &exception);
    65     }
    66     if (exception)
    67         exec->setException(toJS(exec, exception));
    68 
    69     return toJS(exec, result);
     60    JSLock::DropAllLocks dropAllLocks(exec);
     61    return toJS(static_cast<JSCallbackFunction*>(functionObject)->m_callback(execRef, functionRef, thisObjRef, argumentCount, arguments.data(), toRef(exec->exceptionSlot())));
    7062}
    7163
Note: See TracChangeset for help on using the changeset viewer.