Changeset 217808 in webkit
- Timestamp:
- Jun 5, 2017 5:03:53 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r217807 r217808 1 2017-06-05 Joseph Pecoraro <pecoraro@apple.com> 2 3 Remove unused VM members 4 https://bugs.webkit.org/show_bug.cgi?id=172941 5 6 Reviewed by Mark Lam. 7 8 * runtime/HashMapImpl.h: 9 (JSC::HashMapImpl::selectStructure): Deleted. 10 * runtime/VM.cpp: 11 (JSC::VM::VM): 12 * runtime/VM.h: 13 1 14 2017-06-05 Joseph Pecoraro <pecoraro@apple.com> 2 15 -
trunk/Source/JavaScriptCore/runtime/HashMapImpl.h
r217525 r217808 286 286 using HashMapBufferType = HashMapBuffer<HashMapBucketType>; 287 287 288 template <typename T = HashMapBucketType>289 static typename std::enable_if<std::is_same<T, HashMapBucket<HashMapBucketDataKey>>::value, Structure*>::type selectStructure(VM& vm)290 {291 return vm.hashMapImplSetStructure.get();292 }293 294 template <typename T = HashMapBucketType>295 static typename std::enable_if<std::is_same<T, HashMapBucket<HashMapBucketDataKeyValue>>::value, Structure*>::type selectStructure(VM& vm)296 {297 return vm.hashMapImplMapStructure.get();298 }299 300 288 public: 301 289 using BucketType = HashMapBucketType; -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r217770 r217808 181 181 , prototypeMap(*this) 182 182 , interpreter(0) 183 , jsArrayClassInfo(JSArray::info())184 , jsFinalObjectClassInfo(JSFinalObject::info())185 183 , sizeOfLastScratchBuffer(0) 186 184 , entryScope(0) … … 225 223 scopedArgumentsTableStructure.set(*this, ScopedArgumentsTable::createStructure(*this, 0, jsNull())); 226 224 apiWrapperStructure.set(*this, JSAPIValueWrapper::createStructure(*this, 0, jsNull())); 227 JSScopeStructure.set(*this, JSScope::createStructure(*this, 0, jsNull()));228 executableStructure.set(*this, ExecutableBase::createStructure(*this, 0, jsNull()));229 225 nativeExecutableStructure.set(*this, NativeExecutable::createStructure(*this, 0, jsNull())); 230 226 evalExecutableStructure.set(*this, EvalExecutable::createStructure(*this, 0, jsNull())); … … 266 262 hashMapBucketMapStructure.set(*this, HashMapBucket<HashMapBucketDataKeyValue>::createStructure(*this, 0, jsNull())); 267 263 268 iterationTerminator.set(*this, JSFinalObject::create(*this, JSFinalObject::createStructure(*this, 0, jsNull(), 1)));269 264 nativeStdFunctionCellStructure.set(*this, NativeStdFunctionCell::createStructure(*this, 0, jsNull())); 270 265 smallStrings.initializeCommonStrings(*this); -
trunk/Source/JavaScriptCore/runtime/VM.h
r217060 r217808 315 315 Strong<Structure> scopedArgumentsTableStructure; 316 316 Strong<Structure> apiWrapperStructure; 317 Strong<Structure> JSScopeStructure;318 Strong<Structure> executableStructure;319 317 Strong<Structure> nativeExecutableStructure; 320 318 Strong<Structure> evalExecutableStructure; … … 356 354 Strong<Structure> hashMapBucketSetStructure; 357 355 Strong<Structure> hashMapBucketMapStructure; 358 Strong<Structure> hashMapImplSetStructure; 359 Strong<Structure> hashMapImplMapStructure; 360 361 Strong<JSCell> iterationTerminator; 356 362 357 Strong<JSCell> emptyPropertyNameEnumerator; 363 358 … … 525 520 void* lastStackTop() { return m_lastStackTop; } 526 521 void setLastStackTop(void*); 527 528 const ClassInfo* const jsArrayClassInfo;529 const ClassInfo* const jsFinalObjectClassInfo;530 522 531 523 JSValue hostCallReturnValue;
Note: See TracChangeset
for help on using the changeset viewer.