Changeset 95358 in webkit
- Timestamp:
- Sep 16, 2011 7:57:36 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r95357 r95358 1 2011-09-16 Sam Weinig <sam@webkit.org> 2 3 Rename APIValueWrapper type to APIValueWrapperType for consistency 4 https://bugs.webkit.org/show_bug.cgi?id=68306 5 6 Reviewed by Anders Carlsson. 7 8 * runtime/JSAPIValueWrapper.h: 9 (JSC::JSAPIValueWrapper::createStructure): 10 Update name. 11 12 * runtime/JSType.h: 13 Update name and un-indent. 14 15 * runtime/Structure.h: 16 (JSC::JSCell::isAPIValueWrapper): 17 Update name. 18 1 19 2011-09-16 Sam Weinig <sam@webkit.org> 2 20 -
trunk/Source/JavaScriptCore/runtime/JSAPIValueWrapper.h
r94931 r95358 40 40 static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype) 41 41 { 42 return Structure::create(globalData, globalObject, prototype, TypeInfo(APIValueWrapper , OverridesVisitChildren | OverridesGetPropertyNames), &s_info);42 return Structure::create(globalData, globalObject, prototype, TypeInfo(APIValueWrapperType, OverridesVisitChildren | OverridesGetPropertyNames), &s_info); 43 43 } 44 44 -
trunk/Source/JavaScriptCore/runtime/JSType.h
r95326 r95358 24 24 namespace JSC { 25 25 26 /** 27 * Primitive types 28 */ 29 enum JSType { 30 UnspecifiedType = 0, 31 UndefinedType = 1, 32 BooleanType = 2, 33 NumberType = 3, 34 NullType = 4, 35 StringType = 5, 36 LeafType = 6, 37 // The CompoundType value must come before any JSType that may have children 38 CompoundType = 7, 39 GetterSetterType = 8, 40 APIValueWrapper = 9, 41 // The ObjectType value must come before any JSType that is a subclass of JSObject 42 ObjectType = 10, 43 FinalObjectType = 11, 44 }; 26 enum JSType { 27 UnspecifiedType = 0, 28 UndefinedType = 1, 29 BooleanType = 2, 30 NumberType = 3, 31 NullType = 4, 32 StringType = 5, 33 LeafType = 6, 34 35 // The CompoundType value must come before any JSType that may have children. 36 CompoundType = 7, 37 GetterSetterType = 8, 38 APIValueWrapperType = 9, 39 40 // The ObjectType value must come before any JSType that is a subclass of JSObject. 41 ObjectType = 10, 42 FinalObjectType = 11, 43 }; 45 44 46 45 } // namespace JSC -
trunk/Source/JavaScriptCore/runtime/Structure.h
r95326 r95358 323 323 inline bool JSCell::isAPIValueWrapper() const 324 324 { 325 return m_structure->typeInfo().type() == APIValueWrapper ;325 return m_structure->typeInfo().type() == APIValueWrapperType; 326 326 } 327 327
Note: See TracChangeset
for help on using the changeset viewer.