Ignore:
Timestamp:
Dec 29, 2008, 4:28:40 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-29 Sam Weinig <[email protected]>

Reviewed by Oliver Hunt.

Patch for https://bugs.webkit.org/show_bug.cgi?id=23026
Move the deleted offsets vector into the PropertyMap

Saves 3 words per Structure.

  • runtime/PropertyMapHashTable.h:
  • runtime/Structure.cpp: (JSC::Structure::addPropertyTransition): (JSC::Structure::changePrototypeTransition): (JSC::Structure::getterSetterTransition): (JSC::Structure::toDictionaryTransition): (JSC::Structure::fromDictionaryTransition): (JSC::Structure::copyPropertyTable): (JSC::Structure::put): (JSC::Structure::remove): (JSC::Structure::rehashPropertyMapHashTable):
  • runtime/Structure.h: (JSC::Structure::propertyStorageSize):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/PropertyMapHashTable.h

    r38407 r39502  
    2323
    2424#include "UString.h"
     25#include <wtf/Vector.h>
    2526
    2627namespace JSC {
     
    5960        unsigned deletedSentinelCount;
    6061        unsigned lastIndexUsed;
     62        Vector<unsigned>* deletedOffsets;
    6163        unsigned entryIndices[1];
    6264
Note: See TracChangeset for help on using the changeset viewer.