Changeset 47522 in webkit
- Timestamp:
- Aug 19, 2009 1:08:08 PM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r47519 r47522 1 2009-08-19 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Gavin Barraclough. 4 5 Devirtualise marking 6 https://bugs.webkit.org/show_bug.cgi?id=28294 7 8 We actually need to mark the value in a number object if we're using the 9 32bit number representation. 10 11 * runtime/NumberObject.h: 12 (JSC::NumberObject::createStructure): 13 1 14 2009-08-19 Gavin Barraclough <barraclough@apple.com> 2 15 -
trunk/JavaScriptCore/runtime/NumberObject.h
r47267 r47522 31 31 32 32 static const ClassInfo info; 33 33 #if USE(JSVALUE32) 34 static PassRefPtr<Structure> createStructure(JSValue prototype) 35 { 36 return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot)); 37 } 38 #else 34 39 static PassRefPtr<Structure> createStructure(JSValue prototype) 35 40 { 36 41 return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot | HasDefaultMark)); 37 42 } 38 43 #endif 39 44 private: 40 45 virtual const ClassInfo* classInfo() const { return &info; }
Note: See TracChangeset
for help on using the changeset viewer.