Changeset 36755 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Sep 21, 2008, 8:15:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r36746 r36755 261 261 return v->isNull(); 262 262 263 JSType type = static_cast<JSCell*>(v)->structureID()->type ();263 JSType type = static_cast<JSCell*>(v)->structureID()->typeInfo().type(); 264 264 if (type == NumberType || type == StringType) 265 265 return false; … … 629 629 void* storage = fastMalloc(sizeof(CollectorBlock)); 630 630 631 JSArray* jsArray = new (storage) JSArray( StructureID::create(jsNull()));631 JSArray* jsArray = new (storage) JSArray(JSArray::createStructureID(jsNull())); 632 632 m_jsArrayVptr = jsArray->vptr(); 633 633 static_cast<JSCell*>(jsArray)->~JSCell(); … … 637 637 static_cast<JSCell*>(jsString)->~JSCell(); 638 638 639 JSFunction* jsFunction = new (storage) JSFunction( StructureID::create(jsNull()));639 JSFunction* jsFunction = new (storage) JSFunction(JSFunction::createStructureID(jsNull())); 640 640 m_jsFunctionVptr = jsFunction->vptr(); 641 641 static_cast<JSCell*>(jsFunction)->~JSCell();
Note:
See TracChangeset
for help on using the changeset viewer.