Changeset 28468 in webkit for trunk/JavaScriptCore/kjs/bool_object.cpp
- Timestamp:
- Dec 5, 2007, 6:31:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/bool_object.cpp
r28110 r28468 46 46 : BooleanInstance(objectProto) 47 47 { 48 // The constructor will be added later by Interpreter::Interpreter()49 50 48 putDirectFunction(new BooleanProtoFunc(exec, funcProto, BooleanProtoFunc::ToString, 0, exec->propertyNames().toString), DontEnum); 51 49 putDirectFunction(new BooleanProtoFunc(exec, funcProto, BooleanProtoFunc::ValueOf, 0, exec->propertyNames().valueOf), DontEnum); … … 102 100 JSObject *BooleanObjectImp::construct(ExecState *exec, const List &args) 103 101 { 104 BooleanInstance *obj(new BooleanInstance(exec->lexical Interpreter()->builtinBooleanPrototype()));102 BooleanInstance *obj(new BooleanInstance(exec->lexicalGlobalObject()->booleanPrototype())); 105 103 106 104 bool b;
Note:
See TracChangeset
for help on using the changeset viewer.