Changeset 43160 in webkit for trunk/JavaScriptCore/API/JSBase.cpp


Ignore:
Timestamp:
May 3, 2009, 2:02:04 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

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

Roll JSC API number marshaling back in one last time (I hope).

WebCore:

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

Roll JSC API number marshaling back in one last time (I hope).

File:
1 edited

Legend:

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

    r43158 r43160  
    5656    if (completion.complType() == Throw) {
    5757        if (exception)
    58             *exception = toRef(completion.value());
     58            *exception = toRef(exec, completion.value());
    5959        return 0;
    6060    }
    6161
    6262    if (completion.value())
    63         return toRef(completion.value());
     63        return toRef(exec, completion.value());
    6464   
    6565    // happens, for example, when the only statement is an empty (';') statement
    66     return toRef(jsUndefined());
     66    return toRef(exec, jsUndefined());
    6767}
    6868
     
    7777    if (completion.complType() == Throw) {
    7878        if (exception)
    79             *exception = toRef(completion.value());
     79            *exception = toRef(exec, completion.value());
    8080        return false;
    8181    }
Note: See TracChangeset for help on using the changeset viewer.