Changeset 5581 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Nov 18, 2003, 1:23:28 PM (22 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.cpp
r4191 r5581 147 147 return Value(_proto); 148 148 149 if (_proto->dispatchType() != ObjectType) 149 if (_proto->dispatchType() != ObjectType) { 150 150 return Undefined(); 151 } 151 152 152 153 return static_cast<ObjectImp *>(_proto)->get(exec, propertyName); … … 223 224 return true; 224 225 225 if (_proto->dispatchType() != ObjectType) 226 if (_proto->dispatchType() != ObjectType) { 226 227 return false; 228 } 227 229 228 230 // Look in the prototype -
trunk/JavaScriptCore/kjs/value.h
r3373 r5581 71 71 */ 72 72 enum Type { 73 UnspecifiedType = 0,74 UndefinedType = 1,75 NullType = 2,76 BooleanType = 3,77 StringType = 4,78 NumberType = 5,79 ObjectType = 673 UnspecifiedType = 0, 74 UndefinedType = 1, 75 NullType = 2, 76 BooleanType = 3, 77 StringType = 4, 78 NumberType = 5, 79 ObjectType = 6 80 80 }; 81 81
Note:
See TracChangeset
for help on using the changeset viewer.