Changeset 36417 in webkit for trunk/JavaScriptCore/kjs/JSObject.cpp
- Timestamp:
- Sep 14, 2008, 7:13:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSObject.cpp
r36368 r36417 390 390 } 391 391 392 bool JSObject::hasInstance(ExecState* exec, JSValue* value) 393 { 394 JSValue* proto = get(exec, exec->propertyNames().prototype); 392 bool JSObject::hasInstance(ExecState* exec, JSValue* value, JSValue* proto) 393 { 395 394 if (!proto->isObject()) { 396 395 throwError(exec, TypeError, "instanceof called on an object with an invalid prototype property.");
Note:
See TracChangeset
for help on using the changeset viewer.