Changeset 154853 in webkit for trunk/Source/JavaScriptCore/runtime/VM.cpp
- Timestamp:
- Aug 29, 2013, 4:36:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/VM.cpp
r154797 r154853 107 107 extern const HashTable regExpPrototypeTable; 108 108 extern const HashTable stringConstructorTable; 109 #if ENABLE(PROMISES) 109 110 extern const HashTable promisePrototypeTable; 110 111 extern const HashTable promiseConstructorTable; 111 112 extern const HashTable promiseResolverPrototypeTable; 113 #endif 112 114 113 115 // Note: Platform.h will enforce that ENABLE(ASSEMBLER) is true if either … … 170 172 , regExpPrototypeTable(fastNew<HashTable>(JSC::regExpPrototypeTable)) 171 173 , stringConstructorTable(fastNew<HashTable>(JSC::stringConstructorTable)) 174 #if ENABLE(PROMISES) 172 175 , promisePrototypeTable(fastNew<HashTable>(JSC::promisePrototypeTable)) 173 176 , promiseConstructorTable(fastNew<HashTable>(JSC::promiseConstructorTable)) 174 177 , promiseResolverPrototypeTable(fastNew<HashTable>(JSC::promiseResolverPrototypeTable)) 178 #endif 175 179 , identifierTable(vmType == Default ? wtfThreadData().currentIdentifierTable() : createIdentifierTable()) 176 180 , propertyNames(new CommonIdentifiers(this)) … … 322 326 regExpPrototypeTable->deleteTable(); 323 327 stringConstructorTable->deleteTable(); 328 #if ENABLE(PROMISES) 324 329 promisePrototypeTable->deleteTable(); 325 330 promiseConstructorTable->deleteTable(); 326 331 promiseResolverPrototypeTable->deleteTable(); 332 #endif 327 333 328 334 fastDelete(const_cast<HashTable*>(arrayConstructorTable)); … … 343 349 fastDelete(const_cast<HashTable*>(regExpPrototypeTable)); 344 350 fastDelete(const_cast<HashTable*>(stringConstructorTable)); 351 #if ENABLE(PROMISES) 345 352 fastDelete(const_cast<HashTable*>(promisePrototypeTable)); 346 353 fastDelete(const_cast<HashTable*>(promiseConstructorTable)); 347 354 fastDelete(const_cast<HashTable*>(promiseResolverPrototypeTable)); 355 #endif 348 356 349 357 delete emptyList;
Note:
See TracChangeset
for help on using the changeset viewer.