Ignore:
Timestamp:
Jan 30, 2011, 5:13:10 PM (15 years ago)
Author:
[email protected]
Message:

Convert markstack to a slot visitor API
https://bugs.webkit.org/show_bug.cgi?id=53219

rolling r77006 and r77020 back in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r77094 r77098  
     12011-01-30  Oliver Hunt  <[email protected]>
     2
     3        Convert markstack to a slot visitor API
     4        https://bugs.webkit.org/show_bug.cgi?id=53219
     5
     6        rolling r77006 and r77020 back in.
     7
     8        * API/JSCallbackObject.h:
     9        (JSC::JSCallbackObjectData::setPrivateProperty):
     10        (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
     11        (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
     12        (JSC::JSCallbackObjectData::JSPrivatePropertyMap::markChildren):
     13        (JSC::JSCallbackObject::setPrivateProperty):
     14        * API/JSCallbackObjectFunctions.h:
     15        (JSC::::put):
     16        (JSC::::staticFunctionGetter):
     17        * API/JSObjectRef.cpp:
     18        (JSObjectMakeConstructor):
     19        (JSObjectSetPrivateProperty):
     20        * API/JSWeakObjectMapRefInternal.h:
     21        * JavaScriptCore.exp:
     22        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
     23        * JavaScriptCore.xcodeproj/project.pbxproj:
     24        * bytecode/CodeBlock.cpp:
     25        (JSC::CodeBlock::markAggregate):
     26        * bytecode/CodeBlock.h:
     27        (JSC::CodeBlock::globalObject):
     28        * bytecompiler/BytecodeGenerator.cpp:
     29        (JSC::BytecodeGenerator::BytecodeGenerator):
     30        (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall):
     31        (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
     32        (JSC::BytecodeGenerator::findScopedProperty):
     33        * debugger/Debugger.cpp:
     34        (JSC::evaluateInGlobalCallFrame):
     35        * debugger/DebuggerActivation.cpp:
     36        (JSC::DebuggerActivation::DebuggerActivation):
     37        (JSC::DebuggerActivation::markChildren):
     38        * debugger/DebuggerActivation.h:
     39        * debugger/DebuggerCallFrame.cpp:
     40        (JSC::DebuggerCallFrame::evaluate):
     41        * interpreter/CallFrame.h:
     42        (JSC::ExecState::exception):
     43        * interpreter/Interpreter.cpp:
     44        (JSC::Interpreter::resolve):
     45        (JSC::Interpreter::resolveSkip):
     46        (JSC::Interpreter::resolveGlobal):
     47        (JSC::Interpreter::resolveGlobalDynamic):
     48        (JSC::Interpreter::resolveBaseAndProperty):
     49        (JSC::Interpreter::unwindCallFrame):
     50        (JSC::appendSourceToError):
     51        (JSC::Interpreter::execute):
     52        (JSC::Interpreter::tryCacheGetByID):
     53        (JSC::Interpreter::privateExecute):
     54        * jit/JITStubs.cpp:
     55        (JSC::JITThunks::tryCacheGetByID):
     56        (JSC::DEFINE_STUB_FUNCTION):
     57        * jsc.cpp:
     58        (GlobalObject::GlobalObject):
     59        * runtime/ArgList.cpp:
     60        (JSC::MarkedArgumentBuffer::markLists):
     61        * runtime/Arguments.cpp:
     62        (JSC::Arguments::markChildren):
     63        (JSC::Arguments::getOwnPropertySlot):
     64        (JSC::Arguments::getOwnPropertyDescriptor):
     65        (JSC::Arguments::put):
     66        * runtime/Arguments.h:
     67        (JSC::Arguments::setActivation):
     68        (JSC::Arguments::Arguments):
     69        * runtime/ArrayConstructor.cpp:
     70        (JSC::ArrayConstructor::ArrayConstructor):
     71        (JSC::constructArrayWithSizeQuirk):
     72        * runtime/ArrayPrototype.cpp:
     73        (JSC::arrayProtoFuncSplice):
     74        * runtime/BatchedTransitionOptimizer.h:
     75        (JSC::BatchedTransitionOptimizer::BatchedTransitionOptimizer):
     76        (JSC::BatchedTransitionOptimizer::~BatchedTransitionOptimizer):
     77        * runtime/BooleanConstructor.cpp:
     78        (JSC::BooleanConstructor::BooleanConstructor):
     79        (JSC::constructBoolean):
     80        (JSC::constructBooleanFromImmediateBoolean):
     81        * runtime/BooleanPrototype.cpp:
     82        (JSC::BooleanPrototype::BooleanPrototype):
     83        * runtime/ConservativeSet.cpp:
     84        (JSC::ConservativeSet::grow):
     85        * runtime/ConservativeSet.h:
     86        (JSC::ConservativeSet::~ConservativeSet):
     87        (JSC::ConservativeSet::mark):
     88        * runtime/DateConstructor.cpp:
     89        (JSC::DateConstructor::DateConstructor):
     90        * runtime/DateInstance.cpp:
     91        (JSC::DateInstance::DateInstance):
     92        * runtime/DatePrototype.cpp:
     93        (JSC::dateProtoFuncSetTime):
     94        (JSC::setNewValueFromTimeArgs):
     95        (JSC::setNewValueFromDateArgs):
     96        (JSC::dateProtoFuncSetYear):
     97        * runtime/ErrorConstructor.cpp:
     98        (JSC::ErrorConstructor::ErrorConstructor):
     99        * runtime/ErrorInstance.cpp:
     100        (JSC::ErrorInstance::ErrorInstance):
     101        * runtime/ErrorPrototype.cpp:
     102        (JSC::ErrorPrototype::ErrorPrototype):
     103        * runtime/FunctionConstructor.cpp:
     104        (JSC::FunctionConstructor::FunctionConstructor):
     105        * runtime/FunctionPrototype.cpp:
     106        (JSC::FunctionPrototype::FunctionPrototype):
     107        * runtime/GetterSetter.cpp:
     108        (JSC::GetterSetter::markChildren):
     109        * runtime/GetterSetter.h:
     110        (JSC::GetterSetter::GetterSetter):
     111        (JSC::GetterSetter::getter):
     112        (JSC::GetterSetter::setGetter):
     113        (JSC::GetterSetter::setter):
     114        (JSC::GetterSetter::setSetter):
     115        * runtime/GlobalEvalFunction.cpp:
     116        (JSC::GlobalEvalFunction::GlobalEvalFunction):
     117        (JSC::GlobalEvalFunction::markChildren):
     118        * runtime/GlobalEvalFunction.h:
     119        (JSC::GlobalEvalFunction::cachedGlobalObject):
     120        * runtime/Heap.cpp:
     121        (JSC::Heap::markProtectedObjects):
     122        (JSC::Heap::markTempSortVectors):
     123        (JSC::Heap::markRoots):
     124        * runtime/InternalFunction.cpp:
     125        (JSC::InternalFunction::InternalFunction):
     126        * runtime/JSAPIValueWrapper.h:
     127        (JSC::JSAPIValueWrapper::value):
     128        (JSC::JSAPIValueWrapper::JSAPIValueWrapper):
     129        * runtime/JSActivation.cpp:
     130        (JSC::JSActivation::markChildren):
     131        (JSC::JSActivation::put):
     132        * runtime/JSArray.cpp:
     133        (JSC::JSArray::JSArray):
     134        (JSC::JSArray::getOwnPropertySlot):
     135        (JSC::JSArray::getOwnPropertyDescriptor):
     136        (JSC::JSArray::put):
     137        (JSC::JSArray::putSlowCase):
     138        (JSC::JSArray::deleteProperty):
     139        (JSC::JSArray::increaseVectorLength):
     140        (JSC::JSArray::setLength):
     141        (JSC::JSArray::pop):
     142        (JSC::JSArray::push):
     143        (JSC::JSArray::unshiftCount):
     144        (JSC::JSArray::sort):
     145        (JSC::JSArray::fillArgList):
     146        (JSC::JSArray::copyToRegisters):
     147        (JSC::JSArray::compactForSorting):
     148        * runtime/JSArray.h:
     149        (JSC::JSArray::getIndex):
     150        (JSC::JSArray::setIndex):
     151        (JSC::JSArray::uncheckedSetIndex):
     152        (JSC::JSArray::markChildrenDirect):
     153        * runtime/JSByteArray.cpp:
     154        (JSC::JSByteArray::JSByteArray):
     155        * runtime/JSCell.h:
     156        (JSC::JSCell::MarkStack::append):
     157        (JSC::JSCell::MarkStack::internalAppend):
     158        (JSC::JSCell::MarkStack::deprecatedAppend):
     159        * runtime/JSFunction.cpp:
     160        (JSC::JSFunction::JSFunction):
     161        (JSC::JSFunction::getOwnPropertySlot):
     162        * runtime/JSGlobalData.h:
     163        * runtime/JSGlobalObject.cpp:
     164        (JSC::markIfNeeded):
     165        (JSC::JSGlobalObject::reset):
     166        (JSC::JSGlobalObject::resetPrototype):
     167        (JSC::JSGlobalObject::markChildren):
     168        * runtime/JSGlobalObject.h:
     169        (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData):
     170        (JSC::JSGlobalObject::regExpConstructor):
     171        (JSC::JSGlobalObject::errorConstructor):
     172        (JSC::JSGlobalObject::evalErrorConstructor):
     173        (JSC::JSGlobalObject::rangeErrorConstructor):
     174        (JSC::JSGlobalObject::referenceErrorConstructor):
     175        (JSC::JSGlobalObject::syntaxErrorConstructor):
     176        (JSC::JSGlobalObject::typeErrorConstructor):
     177        (JSC::JSGlobalObject::URIErrorConstructor):
     178        (JSC::JSGlobalObject::evalFunction):
     179        (JSC::JSGlobalObject::objectPrototype):
     180        (JSC::JSGlobalObject::functionPrototype):
     181        (JSC::JSGlobalObject::arrayPrototype):
     182        (JSC::JSGlobalObject::booleanPrototype):
     183        (JSC::JSGlobalObject::stringPrototype):
     184        (JSC::JSGlobalObject::numberPrototype):
     185        (JSC::JSGlobalObject::datePrototype):
     186        (JSC::JSGlobalObject::regExpPrototype):
     187        (JSC::JSGlobalObject::methodCallDummy):
     188        (JSC::Structure::prototypeForLookup):
     189        (JSC::constructArray):
     190        * runtime/JSONObject.cpp:
     191        (JSC::Stringifier::Holder::object):
     192        (JSC::Stringifier::Holder::objectSlot):
     193        (JSC::Stringifier::markAggregate):
     194        (JSC::Stringifier::stringify):
     195        (JSC::Stringifier::Holder::appendNextProperty):
     196        (JSC::Walker::callReviver):
     197        (JSC::Walker::walk):
     198        * runtime/JSObject.cpp:
     199        (JSC::JSObject::defineGetter):
     200        (JSC::JSObject::defineSetter):
     201        (JSC::JSObject::removeDirect):
     202        (JSC::JSObject::putDirectFunction):
     203        (JSC::JSObject::putDirectFunctionWithoutTransition):
     204        (JSC::putDescriptor):
     205        (JSC::JSObject::defineOwnProperty):
     206        * runtime/JSObject.h:
     207        (JSC::JSObject::getDirectOffset):
     208        (JSC::JSObject::putDirectOffset):
     209        (JSC::JSObject::putUndefinedAtDirectOffset):
     210        (JSC::JSObject::flattenDictionaryObject):
     211        (JSC::JSObject::putDirectInternal):
     212        (JSC::JSObject::putDirect):
     213        (JSC::JSObject::putDirectFunction):
     214        (JSC::JSObject::putDirectWithoutTransition):
     215        (JSC::JSObject::putDirectFunctionWithoutTransition):
     216        (JSC::JSValue::putDirect):
     217        (JSC::JSObject::allocatePropertyStorageInline):
     218        (JSC::JSObject::markChildrenDirect):
     219        * runtime/JSPropertyNameIterator.cpp:
     220        (JSC::JSPropertyNameIterator::JSPropertyNameIterator):
     221        (JSC::JSPropertyNameIterator::get):
     222        * runtime/JSPropertyNameIterator.h:
     223        * runtime/JSStaticScopeObject.cpp:
     224        (JSC::JSStaticScopeObject::markChildren):
     225        * runtime/JSString.cpp:
     226        (JSC::StringObject::create):
     227        * runtime/JSValue.h:
     228        * runtime/JSWrapperObject.cpp:
     229        (JSC::JSWrapperObject::markChildren):
     230        * runtime/JSWrapperObject.h:
     231        (JSC::JSWrapperObject::internalValue):
     232        (JSC::JSWrapperObject::setInternalValue):
     233        * runtime/LiteralParser.cpp:
     234        (JSC::LiteralParser::parse):
     235        * runtime/Lookup.cpp:
     236        (JSC::setUpStaticFunctionSlot):
     237        * runtime/Lookup.h:
     238        (JSC::lookupPut):
     239        * runtime/MarkStack.h:
     240        (JSC::MarkStack::MarkStack):
     241        (JSC::MarkStack::deprecatedAppendValues):
     242        (JSC::MarkStack::appendValues):
     243        * runtime/MathObject.cpp:
     244        (JSC::MathObject::MathObject):
     245        * runtime/NativeErrorConstructor.cpp:
     246        (JSC::NativeErrorConstructor::NativeErrorConstructor):
     247        * runtime/NativeErrorPrototype.cpp:
     248        (JSC::NativeErrorPrototype::NativeErrorPrototype):
     249        * runtime/NumberConstructor.cpp:
     250        (JSC::NumberConstructor::NumberConstructor):
     251        (JSC::constructWithNumberConstructor):
     252        * runtime/NumberObject.cpp:
     253        (JSC::constructNumber):
     254        * runtime/NumberPrototype.cpp:
     255        (JSC::NumberPrototype::NumberPrototype):
     256        * runtime/ObjectConstructor.cpp:
     257        (JSC::ObjectConstructor::ObjectConstructor):
     258        (JSC::objectConstructorGetOwnPropertyDescriptor):
     259        * runtime/Operations.h:
     260        (JSC::normalizePrototypeChain):
     261        (JSC::resolveBase):
     262        * runtime/PrototypeFunction.cpp:
     263        (JSC::PrototypeFunction::PrototypeFunction):
     264        * runtime/PutPropertySlot.h:
     265        (JSC::PutPropertySlot::setExistingProperty):
     266        (JSC::PutPropertySlot::setNewProperty):
     267        (JSC::PutPropertySlot::base):
     268        * runtime/RegExpConstructor.cpp:
     269        (JSC::RegExpConstructor::RegExpConstructor):
     270        * runtime/ScopeChain.cpp:
     271        (JSC::ScopeChainNode::print):
     272        * runtime/ScopeChain.h:
     273        (JSC::ScopeChainNode::~ScopeChainNode):
     274        (JSC::ScopeChainIterator::operator*):
     275        (JSC::ScopeChainIterator::operator->):
     276        (JSC::ScopeChain::top):
     277        * runtime/ScopeChainMark.h:
     278        (JSC::ScopeChain::markAggregate):
     279        * runtime/SmallStrings.cpp:
     280        (JSC::isMarked):
     281        (JSC::SmallStrings::markChildren):
     282        * runtime/SmallStrings.h:
     283        (JSC::SmallStrings::emptyString):
     284        (JSC::SmallStrings::singleCharacterString):
     285        (JSC::SmallStrings::singleCharacterStrings):
     286        * runtime/StringConstructor.cpp:
     287        (JSC::StringConstructor::StringConstructor):
     288        * runtime/StringObject.cpp:
     289        (JSC::StringObject::StringObject):
     290        * runtime/StringObject.h:
     291        * runtime/StringPrototype.cpp:
     292        (JSC::StringPrototype::StringPrototype):
     293        * runtime/Structure.cpp:
     294        (JSC::Structure::Structure):
     295        (JSC::Structure::addPropertyTransition):
     296        (JSC::Structure::toDictionaryTransition):
     297        (JSC::Structure::flattenDictionaryStructure):
     298        * runtime/Structure.h:
     299        (JSC::Structure::storedPrototype):
     300        (JSC::Structure::storedPrototypeSlot):
     301        * runtime/WeakGCMap.h:
     302        (JSC::WeakGCMap::uncheckedGet):
     303        (JSC::WeakGCMap::uncheckedGetSlot):
     304        (JSC::WeakGCMap::isValid):
     305        (JSC::::get):
     306        (JSC::::take):
     307        (JSC::::set):
     308        (JSC::::uncheckedRemove):
     309        * runtime/WriteBarrier.h: Added.
     310        (JSC::DeprecatedPtr::DeprecatedPtr):
     311        (JSC::DeprecatedPtr::get):
     312        (JSC::DeprecatedPtr::operator*):
     313        (JSC::DeprecatedPtr::operator->):
     314        (JSC::DeprecatedPtr::slot):
     315        (JSC::DeprecatedPtr::operator UnspecifiedBoolType*):
     316        (JSC::DeprecatedPtr::operator!):
     317        (JSC::WriteBarrierBase::set):
     318        (JSC::WriteBarrierBase::get):
     319        (JSC::WriteBarrierBase::operator*):
     320        (JSC::WriteBarrierBase::operator->):
     321        (JSC::WriteBarrierBase::slot):
     322        (JSC::WriteBarrierBase::operator UnspecifiedBoolType*):
     323        (JSC::WriteBarrierBase::operator!):
     324        (JSC::WriteBarrier::WriteBarrier):
     325        (JSC::operator==):
     326
    13272011-01-30  Geoffrey Garen  <[email protected]>
    2328
Note: See TracChangeset for help on using the changeset viewer.