Changeset 43130 in webkit for trunk/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- May 1, 2009, 5:25:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.cpp
r41594 r43130 56 56 if (completion.complType() == Throw) { 57 57 if (exception) 58 *exception = toRef( completion.value());58 *exception = toRef(exec, completion.value()); 59 59 return 0; 60 60 } 61 61 62 62 if (completion.value()) 63 return toRef( completion.value());63 return toRef(exec, completion.value()); 64 64 65 65 // happens, for example, when the only statement is an empty (';') statement 66 return toRef( jsUndefined());66 return toRef(exec, jsUndefined()); 67 67 } 68 68 … … 77 77 if (completion.complType() == Throw) { 78 78 if (exception) 79 *exception = toRef( completion.value());79 *exception = toRef(exec, completion.value()); 80 80 return false; 81 81 }
Note:
See TracChangeset
for help on using the changeset viewer.