Ignore:
Timestamp:
Jan 31, 2011, 12:07:21 PM (14 years ago)
Author:
[email protected]
Message:

2011-01-31 Oliver Hunt <[email protected]>

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

rolling r77098, r77099, r77100, r77109, and
r77111 back in, along with a few more Qt fix attempts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

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