Changeset 37586 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 14, 2008, 9:22:20 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r37581 r37586 1 2008-10-14 Alexey Proskuryakov <[email protected]> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=20256 6 Array.push and other standard methods disappear 7 8 * kjs/JSGlobalData.cpp: 9 (JSC::JSGlobalData::JSGlobalData): 10 (JSC::JSGlobalData::~JSGlobalData): 11 Don't use static hash tables even on platforms that don't enable JSC_MULTIPLE_THREADS - 12 these tables reference IdentifierTable, which is always per-GlobalData. 13 1 14 2008-10-14 Maciej Stachowiak <[email protected]> 2 15 -
trunk/JavaScriptCore/kjs/JSGlobalData.cpp
r37563 r37586 62 62 : machine(new Machine) 63 63 , exception(0) 64 #if ENABLE(JSC_MULTIPLE_THREADS)65 64 , arrayTable(new HashTable(JSC::arrayTable)) 66 65 , dateTable(new HashTable(JSC::dateTable)) … … 70 69 , regExpConstructorTable(new HashTable(JSC::regExpConstructorTable)) 71 70 , stringTable(new HashTable(JSC::stringTable)) 72 #else73 , arrayTable(&JSC::arrayTable)74 , dateTable(&JSC::dateTable)75 , mathTable(&JSC::mathTable)76 , numberTable(&JSC::numberTable)77 , regExpTable(&JSC::regExpTable)78 , regExpConstructorTable(&JSC::regExpConstructorTable)79 , stringTable(&JSC::stringTable)80 #endif81 71 , nullProtoStructureID(JSObject::createStructureID(jsNull())) 82 72 , activationStructureID(JSActivation::createStructureID(jsNull())) … … 109 99 #endif 110 100 111 #if ENABLE(JSC_MULTIPLE_THREADS)112 101 arrayTable->deleteTable(); 113 102 dateTable->deleteTable(); … … 124 113 delete regExpConstructorTable; 125 114 delete stringTable; 126 #endif127 115 128 116 delete parser;
Note:
See TracChangeset
for help on using the changeset viewer.