Changeset 41083 in webkit for trunk/JavaScriptCore/runtime/JSImmediate.cpp
- Timestamp:
- Feb 19, 2009, 12:35:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSImmediate.cpp
r40046 r41083 40 40 if (isBoolean(v)) 41 41 return constructBooleanFromImmediateBoolean(exec, v); 42 if (v.isNull()) 43 return exec->globalThisValue(); 44 45 JSNotAnObjectErrorStub* exception = createNotAnObjectErrorStub(exec, v.isNull()); 46 exec->setException(exception); 47 return new (exec) JSNotAnObject(exec, exception); 42 ASSERT(v.isUndefinedOrNull()); 43 return exec->globalThisValue(); 48 44 } 49 45
Note:
See TracChangeset
for help on using the changeset viewer.