Changeset 43551 in webkit for trunk/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- May 11, 2009, 10:31:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSObject.cpp
r43432 r43551 388 388 bool JSObject::hasInstance(ExecState* exec, JSValue value, JSValue proto) 389 389 { 390 if (!value.isObject()) 391 return false; 392 390 393 if (!proto.isObject()) { 391 394 throwError(exec, TypeError, "instanceof called on an object with an invalid prototype property."); 392 395 return false; 393 396 } 394 395 if (!value.isObject())396 return false;397 397 398 398 JSObject* object = asObject(value);
Note:
See TracChangeset
for help on using the changeset viewer.