Changeset 13568 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Mar 29, 2006, 6:39:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r13465 r13568 118 118 * @param proto The prototype 119 119 */ 120 JSObject(JSObject *proto );120 JSObject(JSObject *proto, bool destructorIsThreadSafe = true); 121 121 122 122 /** … … 124 124 * (that is, the ECMAScript "null" value, not a null object pointer). 125 125 */ 126 JSObject();126 explicit JSObject(bool destructorIsThreadSafe = true); 127 127 128 128 virtual void mark(); … … 580 580 JSObject *throwError(ExecState *, ErrorType); 581 581 582 inline JSObject::JSObject(JSObject *proto) 583 : _proto(proto), _internalValue(0) 582 inline JSObject::JSObject(JSObject *proto, bool destructorIsThreadSafe) 583 : JSCell(destructorIsThreadSafe) 584 , _proto(proto) 585 , _internalValue(0) 584 586 { 585 587 assert(proto); 586 588 } 587 589 588 inline JSObject::JSObject() 589 : _proto(jsNull()), _internalValue(0) 590 inline JSObject::JSObject(bool destructorIsThreadSafe) 591 : JSCell(destructorIsThreadSafe) 592 , _proto(jsNull()) 593 , _internalValue(0) 590 594 { 591 595 }
Note:
See TracChangeset
for help on using the changeset viewer.