Changeset 160822 in webkit for trunk/Source/JavaScriptCore/runtime/JSCellInlines.h
- Timestamp:
- Dec 18, 2013, 8:30:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCellInlines.h
r157539 r160822 89 89 ASSERT(!DisallowGC::isGCDisallowedOnCurrentThread()); 90 90 ASSERT(size >= sizeof(T)); 91 #if ENABLE(GC_VALIDATION)92 ASSERT(!heap.vm()->isInitializingObject());93 heap.vm()->setInitializingObjectClass(T::info());94 #endif95 91 JSCell* result = 0; 96 92 if (T::needsDestruction && T::hasImmortalStructure) … … 100 96 else 101 97 result = static_cast<JSCell*>(heap.allocateWithoutDestructor(size)); 98 #if ENABLE(GC_VALIDATION) 99 ASSERT(!heap.vm()->isInitializingObject()); 100 heap.vm()->setInitializingObjectClass(T::info()); 101 #endif 102 102 result->clearStructure(); 103 103 return result;
Note:
See TracChangeset
for help on using the changeset viewer.