Changeset 157082 in webkit for trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
- Timestamp:
- Oct 7, 2013, 8:29:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCJSValue.cpp
r156910 r157082 75 75 76 76 ASSERT(isUndefinedOrNull()); 77 exec->vm().throwException(exec, createNotAnObjectError(exec, *this)); 78 return JSNotAnObject::create(exec); 77 VM& vm = exec->vm(); 78 vm.throwException(exec, createNotAnObjectError(exec, *this)); 79 return JSNotAnObject::create(vm); 79 80 } 80 81 … … 107 108 108 109 ASSERT(isUndefinedOrNull()); 109 exec->vm().throwException(exec, createNotAnObjectError(exec, *this)); 110 return JSNotAnObject::create(exec); 110 VM& vm = exec->vm(); 111 vm.throwException(exec, createNotAnObjectError(exec, *this)); 112 return JSNotAnObject::create(vm); 111 113 } 112 114
Note:
See TracChangeset
for help on using the changeset viewer.