1. 21 Sep, 2012 1 commit
    • barraclough@apple.com's avatar
      instanceof should not get the prototype for non-default HasInstance · b46d57b4
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68656
      
      Reviewed by Oliver Hunt.
      
      Source/JavaScriptCore: 
      
      Instanceof is currently implemented as a sequance of three opcodes:
          check_has_instance
          get_by_id(prototype)
          op_instanceof
      There are three interesting types of base value that instanceof can be applied to:
          (A) Objects supporting default instanceof behaviour (functions, other than those created with bind)
          (B) Objects overriding the default instancecof behaviour with a custom one (API objects, bound functions)
          (C) Values that do not respond to the [[HasInstance]] trap.
      Currently check_has_instance handles case (C), leaving the op_instanceof opcode to handle (A) & (B). There are
      two problems with this apporach. Firstly, this is suboptimal for case (A), since we have to check for
      hasInstance support twice (once in check_has_instance, then for default behaviour in op_instanceof). Secondly,
      this means that in cases (B) we also perform the get_by_id, which is both suboptimal and an observable spec
      violation.
      
      The fix here is to move handing of non-default instanceof (cases (B)) to the check_has_instance op, leaving
      op_instanceof to handle only cases (A).
      
      * API/JSCallbackObject.h:
      (JSCallbackObject):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::customHasInstance):
      * API/JSValueRef.cpp:
      (JSValueIsInstanceOfConstructor):
          - renamed hasInstance to customHasInstance
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
          - added additional parameters to check_has_instance opcode
      * bytecode/Opcode.h:
      (JSC):
      (JSC::padOpcodeName):
          - added additional parameters to check_has_instance opcode
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::emitCheckHasInstance):
          - added additional parameters to check_has_instance opcode
      * bytecompiler/BytecodeGenerator.h:
      (BytecodeGenerator):
          - added additional parameters to check_has_instance opcode
      * bytecompiler/NodesCodegen.cpp:
      (JSC::InstanceOfNode::emitBytecode):
          - added additional parameters to check_has_instance opcode
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
          - added additional parameters to check_has_instance opcode
      * interpreter/Interpreter.cpp:
      (JSC::isInvalidParamForIn):
      (JSC::Interpreter::privateExecute):
          - Add handling for non-default instanceof to op_check_has_instance
      * jit/JITInlineMethods.h:
      (JSC::JIT::emitArrayProfilingSiteForBytecodeIndex):
          - Fixed no-LLInt no_DFG build
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_check_has_instance):
      (JSC::JIT::emitSlow_op_check_has_instance):
          - check for ImplementsDefaultHasInstance, handle additional arguments to op_check_has_instance.
      (JSC::JIT::emit_op_instanceof):
      (JSC::JIT::emitSlow_op_instanceof):
          - no need to check for ImplementsDefaultHasInstance.
      * jit/JITOpcodes32_64.cpp:
      (JSC::JIT::emit_op_check_has_instance):
      (JSC::JIT::emitSlow_op_check_has_instance):
          - check for ImplementsDefaultHasInstance, handle additional arguments to op_check_has_instance.
      (JSC::JIT::emit_op_instanceof):
      (JSC::JIT::emitSlow_op_instanceof):
          - no need to check for ImplementsDefaultHasInstance.
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * jit/JITStubs.h:
          - Add handling for non-default instanceof to op_check_has_instance
      * llint/LLIntSlowPaths.cpp:
      (JSC::LLInt::LLINT_SLOW_PATH_DECL):
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
          - move check for ImplementsDefaultHasInstance, handle additional arguments to op_check_has_instance.
      * runtime/ClassInfo.h:
      (MethodTable):
      (JSC):
          - renamed hasInstance to customHasInstance
      * runtime/CommonSlowPaths.h:
      (CommonSlowPaths):
          - removed opInstanceOfSlow (this was whittled down to one function call!)
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::customHasInstance):
      * runtime/JSBoundFunction.h:
      (JSBoundFunction):
          - renamed hasInstance to customHasInstance, reimplemented.
      * runtime/JSCell.cpp:
      (JSC::JSCell::customHasInstance):
      * runtime/JSCell.h:
      (JSCell):
      * runtime/JSObject.cpp:
      (JSC::JSObject::hasInstance):
      (JSC):
      (JSC::JSObject::defaultHasInstance):
      * runtime/JSObject.h:
      (JSObject):
      
      LayoutTests: 
      
      * fast/js/function-bind-expected.txt:
          - check in passing result.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b46d57b4
  2. 18 Sep, 2012 1 commit
    • ossy@webkit.org's avatar
      Unreviewed, rolling out r128826 and r128813. · 7c7e4274
      ossy@webkit.org authored
      Source/JavaScriptCore:
      
      * API/JSCallbackConstructor.cpp:
      (JSC):
      (JSC::JSCallbackConstructor::JSCallbackConstructor):
      * API/JSCallbackConstructor.h:
      (JSCallbackConstructor):
      * API/JSCallbackObject.cpp:
      (JSC):
      (JSC::::createStructure):
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObject::create):
      (JSCallbackObject):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::prototype):
      * API/JSObjectRef.cpp:
      (JSObjectMake):
      (JSObjectGetPrivate):
      (JSObjectSetPrivate):
      (JSObjectGetPrivateProperty):
      (JSObjectSetPrivateProperty):
      (JSObjectDeletePrivateProperty):
      * API/JSValueRef.cpp:
      (JSValueIsObjectOfClass):
      * API/JSWeakObjectMapRefPrivate.cpp:
      * GNUmakefile.list.am:
      * JSCTypedArrayStubs.h:
      (JSC):
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject):
      (JSC::DFG::SpeculativeJIT::emitAllocateJSFinalObject):
      * heap/Heap.cpp:
      (JSC::Heap::isSafeToSweepStructures):
      (JSC):
      * heap/Heap.h:
      (JSC::Heap::allocatorForObjectWithDestructor):
      (Heap):
      (JSC::Heap::allocateWithDestructor):
      (JSC::Heap::allocateStructure):
      (JSC):
      * heap/IncrementalSweeper.cpp:
      (JSC::IncrementalSweeper::IncrementalSweeper):
      (JSC::IncrementalSweeper::sweepNextBlock):
      (JSC::IncrementalSweeper::startSweeping):
      (JSC::IncrementalSweeper::willFinishSweeping):
      (JSC::IncrementalSweeper::structuresCanBeSwept):
      (JSC):
      * heap/IncrementalSweeper.h:
      (IncrementalSweeper):
      * heap/MarkedAllocator.cpp:
      (JSC::MarkedAllocator::tryAllocateHelper):
      (JSC::MarkedAllocator::allocateBlock):
      * heap/MarkedAllocator.h:
      (JSC::MarkedAllocator::cellsNeedDestruction):
      (JSC::MarkedAllocator::onlyContainsStructures):
      (MarkedAllocator):
      (JSC::MarkedAllocator::MarkedAllocator):
      (JSC::MarkedAllocator::init):
      * heap/MarkedBlock.cpp:
      (JSC::MarkedBlock::create):
      (JSC::MarkedBlock::MarkedBlock):
      (JSC):
      (JSC::MarkedBlock::specializedSweep):
      (JSC::MarkedBlock::sweep):
      (JSC::MarkedBlock::sweepHelper):
      * heap/MarkedBlock.h:
      (JSC):
      (MarkedBlock):
      (JSC::MarkedBlock::cellsNeedDestruction):
      (JSC::MarkedBlock::onlyContainsStructures):
      * heap/MarkedSpace.cpp:
      (JSC::MarkedSpace::MarkedSpace):
      (JSC::MarkedSpace::resetAllocators):
      (JSC::MarkedSpace::canonicalizeCellLivenessData):
      (JSC::MarkedSpace::isPagedOut):
      (JSC::MarkedSpace::freeBlock):
      * heap/MarkedSpace.h:
      (MarkedSpace):
      (Subspace):
      (JSC::MarkedSpace::allocatorFor):
      (JSC::MarkedSpace::destructorAllocatorFor):
      (JSC::MarkedSpace::allocateWithDestructor):
      (JSC::MarkedSpace::allocateStructure):
      (JSC::MarkedSpace::forEachBlock):
      * heap/SlotVisitor.cpp:
      * jit/JIT.h:
      * jit/JITInlineMethods.h:
      (JSC::JIT::emitAllocateBasicJSObject):
      (JSC::JIT::emitAllocateJSFinalObject):
      (JSC::JIT::emitAllocateJSArray):
      * jsc.cpp:
      (GlobalObject::create):
      * runtime/Arguments.cpp:
      (JSC):
      * runtime/Arguments.h:
      (Arguments):
      (JSC::Arguments::Arguments):
      * runtime/ErrorPrototype.cpp:
      (JSC):
      * runtime/Executable.h:
      * runtime/InternalFunction.cpp:
      (JSC):
      (JSC::InternalFunction::InternalFunction):
      * runtime/InternalFunction.h:
      (InternalFunction):
      * runtime/JSCell.h:
      (JSC):
      (JSC::allocateCell):
      * runtime/JSDestructibleObject.h: Removed.
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      (JSC):
      * runtime/JSGlobalObject.h:
      (JSGlobalObject):
      (JSC::JSGlobalObject::createRareDataIfNeeded):
      (JSC::JSGlobalObject::create):
      * runtime/JSGlobalThis.h:
      (JSGlobalThis):
      (JSC::JSGlobalThis::JSGlobalThis):
      * runtime/JSPropertyNameIterator.h:
      * runtime/JSScope.cpp:
      (JSC):
      * runtime/JSString.h:
      (JSC):
      * runtime/JSWrapperObject.h:
      (JSWrapperObject):
      (JSC::JSWrapperObject::JSWrapperObject):
      * runtime/MathObject.cpp:
      (JSC):
      * runtime/NameInstance.h:
      (NameInstance):
      * runtime/RegExp.h:
      * runtime/RegExpObject.cpp:
      (JSC):
      * runtime/SparseArrayValueMap.h:
      * runtime/Structure.h:
      (JSC::Structure):
      (JSC::JSCell::classInfo):
      (JSC):
      * runtime/StructureChain.h:
      * runtime/SymbolTable.h:
      * testRegExp.cpp:
      (GlobalObject::create):
      
      Source/WebCore:
      
      * ForwardingHeaders/runtime/JSDestructibleObject.h: Removed.
      * bindings/js/JSDOMWrapper.h:
      (WebCore::JSDOMWrapper::JSDOMWrapper):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/objc/objc_runtime.h:
      (ObjcFallbackObjectImp):
      * bridge/objc/objc_runtime.mm:
      (Bindings):
      (JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
      * bridge/runtime_array.cpp:
      (JSC):
      (JSC::RuntimeArray::destroy):
      * bridge/runtime_array.h:
      (JSC::RuntimeArray::create):
      * bridge/runtime_object.cpp:
      (Bindings):
      (JSC::Bindings::RuntimeObject::RuntimeObject):
      * bridge/runtime_object.h:
      (RuntimeObject):
      
      Source/WebKit2:
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit):
      (WebKit::JSNPObject::JSNPObject):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      (JSNPObject):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c7e4274
  3. 17 Sep, 2012 1 commit
    • mhahnenberg@apple.com's avatar
      Delayed structure sweep can leak structures without bound · 013fd88d
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=96546
      
      Reviewed by Gavin Barraclough.
      
      This patch gets rid of the separate Structure allocator in the MarkedSpace and adds two new destructor-only
      allocators. We now have separate allocators for our three types of objects: those objects with no destructors,
      those objects with destructors and with immortal structures, and those objects with destructors that don't have 
      immortal structures. All of the objects of the third type (destructors without immortal structures) now 
      inherit from a new class named JSDestructibleObject (which in turn is a subclass of JSNonFinalObject), which stores 
      the ClassInfo for these classes at a fixed offset for safe retrieval during sweeping/destruction.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackConstructor.cpp: Use JSDestructibleObject for JSCallbackConstructor.
      (JSC):
      (JSC::JSCallbackConstructor::JSCallbackConstructor):
      * API/JSCallbackConstructor.h:
      (JSCallbackConstructor):
      * API/JSCallbackObject.cpp: Inherit from JSDestructibleObject for normal JSCallbackObjects and use a finalizer for 
      JSCallbackObject<JSGlobalObject>, since JSGlobalObject also uses a finalizer.
      (JSC):
      (JSC::::create): We need to move the create function for JSCallbackObject<JSGlobalObject> out of line so we can add 
      the finalizer for it. We don't want to add the finalizer is something like finishCreation in case somebody decides 
      to subclass this. We use this same technique for many other subclasses of JSGlobalObject.
      (JSC::::createStructure):
      * API/JSCallbackObject.h:
      (JSCallbackObject):
      (JSC):
      * API/JSClassRef.cpp: Change all the JSCallbackObject<JSNonFinalObject> to use JSDestructibleObject instead.
      (OpaqueJSClass::prototype):
      * API/JSObjectRef.cpp: Ditto.
      (JSObjectMake):
      (JSObjectGetPrivate):
      (JSObjectSetPrivate):
      (JSObjectGetPrivateProperty):
      (JSObjectSetPrivateProperty):
      (JSObjectDeletePrivateProperty):
      * API/JSValueRef.cpp: Ditto.
      (JSValueIsObjectOfClass):
      * API/JSWeakObjectMapRefPrivate.cpp: Ditto.
      * JSCTypedArrayStubs.h:
      (JSC):
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * dfg/DFGSpeculativeJIT.h: Use the proper allocator type when doing inline allocation in the DFG.
      (JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject):
      (JSC::DFG::SpeculativeJIT::emitAllocateJSFinalObject):
      * heap/Heap.cpp:
      (JSC):
      * heap/Heap.h: Add accessors for the various types of allocators now. Also remove the isSafeToSweepStructures function 
      since it's always safe to sweep Structures now.
      (JSC::Heap::allocatorForObjectWithNormalDestructor): 
      (JSC::Heap::allocatorForObjectWithImmortalStructureDestructor):
      (Heap):
      (JSC::Heap::allocateWithNormalDestructor):
      (JSC):
      (JSC::Heap::allocateWithImmortalStructureDestructor):
      * heap/IncrementalSweeper.cpp: Remove all the logic to detect when it's safe to sweep Structures from the 
      IncrementalSweeper since it's always safe to sweep Structures now.
      (JSC::IncrementalSweeper::IncrementalSweeper):
      (JSC::IncrementalSweeper::sweepNextBlock):
      (JSC::IncrementalSweeper::startSweeping):
      (JSC::IncrementalSweeper::willFinishSweeping):
      (JSC):
      * heap/IncrementalSweeper.h:
      (IncrementalSweeper):
      * heap/MarkedAllocator.cpp: Remove the logic that was preventing us from sweeping Structures if it wasn't safe. Add 
      tracking of the specific destructor type of allocator. 
      (JSC::MarkedAllocator::tryAllocateHelper):
      (JSC::MarkedAllocator::allocateBlock):
      * heap/MarkedAllocator.h:
      (JSC::MarkedAllocator::destructorType):
      (MarkedAllocator):
      (JSC::MarkedAllocator::MarkedAllocator):
      (JSC::MarkedAllocator::init):
      * heap/MarkedBlock.cpp: Add all the destructor type stuff to MarkedBlocks so that we do the right thing when sweeping. 
      We also use the stored destructor type to determine the right thing to do in all JSCell::classInfo() calls.
      (JSC::MarkedBlock::create):
      (JSC::MarkedBlock::MarkedBlock):
      (JSC):
      (JSC::MarkedBlock::specializedSweep):
      (JSC::MarkedBlock::sweep):
      (JSC::MarkedBlock::sweepHelper):
      * heap/MarkedBlock.h:
      (JSC):
      (JSC::MarkedBlock::allocator):
      (JSC::MarkedBlock::destructorType):
      * heap/MarkedSpace.cpp: Add the new destructor allocators to MarkedSpace.
      (JSC::MarkedSpace::MarkedSpace):
      (JSC::MarkedSpace::resetAllocators):
      (JSC::MarkedSpace::canonicalizeCellLivenessData):
      (JSC::MarkedSpace::isPagedOut):
      (JSC::MarkedSpace::freeBlock):
      * heap/MarkedSpace.h:
      (MarkedSpace):
      (JSC::MarkedSpace::immortalStructureDestructorAllocatorFor):
      (JSC::MarkedSpace::normalDestructorAllocatorFor):
      (JSC::MarkedSpace::allocateWithImmortalStructureDestructor):
      (JSC::MarkedSpace::allocateWithNormalDestructor):
      (JSC::MarkedSpace::forEachBlock):
      * heap/SlotVisitor.cpp: Add include because the symbol was needed in an inlined function.
      * jit/JIT.h: Make sure we use the correct allocator when doing inline allocations in the baseline JIT.
      * jit/JITInlineMethods.h:
      (JSC::JIT::emitAllocateBasicJSObject):
      (JSC::JIT::emitAllocateJSFinalObject):
      (JSC::JIT::emitAllocateJSArray):
      * jsc.cpp: 
      (GlobalObject::create): Add finalizer here since JSGlobalObject needs to use a finalizer instead of inheriting from 
      JSDestructibleObject.
      * runtime/Arguments.cpp: Inherit from JSDestructibleObject.
      (JSC):
      * runtime/Arguments.h:
      (Arguments):
      (JSC::Arguments::Arguments):
      * runtime/ErrorPrototype.cpp: Added an assert to make sure we have a trivial destructor.
      (JSC):
      * runtime/Executable.h: Indicate that all of the Executable* classes have immortal Structures.
      (JSC):
      * runtime/InternalFunction.cpp: Inherit from JSDestructibleObject.
      (JSC):
      (JSC::InternalFunction::InternalFunction):
      * runtime/InternalFunction.h:
      (InternalFunction):
      * runtime/JSCell.h: Added the NEEDS_DESTRUCTOR  macro to make it easier for classes to indicate that instead of being 
      allocated in a destructor MarkedAllocator that they will handle their destruction themselves through the 
      use of a finalizer.
      (JSC):
      (HasImmortalStructure): New template to help us determine at compile-time if a particular class 
      should be allocated in the immortal structure MarkedAllocator. The default value is false. In order 
      to be allocated in the immortal structure allocator, classes must specialize this template. Also added 
      a macro to make it easier for classes to specialize the template.
      (JSC::allocateCell): Use the appropriate allocator depending on the destructor type.
      * runtime/JSDestructibleObject.h: Added. New class that stores the ClassInfo of any subclass so that it can be 
      accessed safely when the object is being destroyed.
      (JSC):
      (JSDestructibleObject):
      (JSC::JSDestructibleObject::classInfo):
      (JSC::JSDestructibleObject::JSDestructibleObject):
      (JSC::JSCell::classInfo): Checks the current MarkedBlock to see where it should get the ClassInfo from so that it's always safe.
      * runtime/JSGlobalObject.cpp: JSGlobalObject now uses a finalizer instead of a destructor so that it can avoid forcing all 
      of its relatives in the inheritance hierarchy (e.g. JSScope) to use destructors as well.
      (JSC::JSGlobalObject::reset):
      * runtime/JSGlobalObject.h:
      (JSGlobalObject):
      (JSC::JSGlobalObject::createRareDataIfNeeded): Since we always create a finalizer now, we don't have to worry about adding one 
      for the m_rareData field when it's created.
      (JSC::JSGlobalObject::create):
      (JSC):
      * runtime/JSGlobalThis.h: Inherit from JSDestructibleObject.
      (JSGlobalThis):
      (JSC::JSGlobalThis::JSGlobalThis):
      * runtime/JSPropertyNameIterator.h: Has an immortal Structure.
      (JSC):
      * runtime/JSScope.cpp:
      (JSC):
      * runtime/JSString.h: Has an immortal Structure.
      (JSC):
      * runtime/JSWrapperObject.h: Inherit from JSDestructibleObject.
      (JSWrapperObject):
      (JSC::JSWrapperObject::JSWrapperObject):
      * runtime/MathObject.cpp: Cleaning up some of the inheritance stuff.
      (JSC):
      * runtime/NameInstance.h: Inherit from JSDestructibleObject.
      (NameInstance):
      * runtime/RegExp.h: Has immortal Structure.
      (JSC):
      * runtime/RegExpObject.cpp: Inheritance cleanup.
      (JSC):
      * runtime/SparseArrayValueMap.h: Has immortal Structure.
      (JSC):
      * runtime/Structure.h: Has immortal Structure.
      (JSC):
      * runtime/StructureChain.h: Ditto.
      (JSC):
      * runtime/SymbolTable.h: Ditto.
      (SharedSymbolTable):
      (JSC):
      
      Source/WebCore: 
      
      No new tests.
      
      * ForwardingHeaders/runtime/JSDestructableObject.h: Added.
      * bindings/js/JSDOMWrapper.h: Inherits from JSDestructibleObject.
      (JSDOMWrapper):
      (WebCore::JSDOMWrapper::JSDOMWrapper):
      * bindings/scripts/CodeGeneratorJS.pm: Add finalizers to anything that inherits from JSGlobalObject,
      e.g. JSDOMWindow and JSWorkerContexts. For those classes we also need to use the NEEDS_DESTRUCTOR macro.
      (GenerateHeader):
      * bridge/objc/objc_runtime.h: Inherit from JSDestructibleObject.
      (ObjcFallbackObjectImp):
      * bridge/objc/objc_runtime.mm:
      (Bindings):
      (JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
      * bridge/runtime_array.cpp: Use a finalizer so that JSArray isn't forced to inherit from JSDestructibleObject.
      (JSC):
      (JSC::RuntimeArray::destroy):
      * bridge/runtime_array.h:
      (JSC::RuntimeArray::create):
      (JSC):
      * bridge/runtime_object.cpp: Inherit from JSDestructibleObject.
      (Bindings):
      (JSC::Bindings::RuntimeObject::RuntimeObject):
      * bridge/runtime_object.h:
      (RuntimeObject):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      013fd88d
  4. 12 Sep, 2012 1 commit
    • fpizlo@apple.com's avatar
      JSC should have property butterflies · d8dd0535
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=91933
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      This changes the JSC object model. Previously, all objects had fast lookup for
      named properties. Integer indexed properties were only fast if you used a
      JSArray. With this change, all objects have fast indexed properties. This is
      accomplished without any space overhead by using a bidirectional object layout,
      aka butterflies. Each JSObject has a m_butterfly pointer where previously it
      had a m_outOfLineStorage pointer. To the left of the location pointed to by
      m_butterfly, we place all named out-of-line properties. To the right, we place
      all indexed properties along with indexing meta-data. Though, some indexing
      meta-data is placed in the 8-byte word immediately left of the pointed-to
      location; this is in anticipation of the indexing meta-data being small enough
      in the common case that m_butterfly always points to the first indexed
      property.
              
      This is performance neutral, except on tests that use indexed properties on
      plain objects, where the speed-up is in excess of an order of magnitude.
              
      One notable aspect of what this change brings is that it allows indexing
      storage to morph over time. Currently this is only used to allow all non-array
      objects to start out without any indexed storage. But it could be used for
      some kinds of array type inference in the future.
      
      * API/JSCallbackObject.h:
      (JSCallbackObject):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertySlotByIndex):
      (JSC):
      (JSC::::getOwnNonIndexPropertyNames):
      * API/JSObjectRef.cpp:
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * bytecode/ArrayProfile.h:
      (JSC):
      (JSC::arrayModeFromStructure):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::emitDirectPutById):
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      * dfg/DFGAdjacencyList.h:
      (JSC::DFG::AdjacencyList::AdjacencyList):
      (AdjacencyList):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::fromObserved):
      (JSC::DFG::modeAlreadyChecked):
      (JSC::DFG::modeToString):
      * dfg/DFGArrayMode.h:
      (DFG):
      (JSC::DFG::modeUsesButterfly):
      (JSC::DFG::modeIsJSArray):
      (JSC::DFG::isInBoundsAccess):
      (JSC::DFG::modeSupportsLength):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::handleGetByOffset):
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::getPropertyStorageLoadElimination):
      (JSC::DFG::CSEPhase::performNodeCSE):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupNode):
      (JSC::DFG::FixupPhase::addNode):
      (FixupPhase):
      (JSC::DFG::FixupPhase::checkArray):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::byValIsPure):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::Node):
      (Node):
      * dfg/DFGNodeType.h:
      (DFG):
      * dfg/DFGOperations.cpp:
      (JSC::DFG::putByVal):
      * dfg/DFGOperations.h:
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      * dfg/DFGRepatch.cpp:
      (JSC::DFG::generateProtoChainAccessStub):
      (JSC::DFG::tryCacheGetByID):
      (JSC::DFG::tryBuildGetByIDList):
      (JSC::DFG::emitPutReplaceStub):
      (JSC::DFG::emitPutTransitionStub):
      (JSC::DFG::tryBuildPutByIdList):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::checkArray):
      (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
      (JSC::DFG::SpeculativeJIT::compileGetArrayLength):
      (JSC::DFG::SpeculativeJIT::compileAllocatePropertyStorage):
      (JSC::DFG::SpeculativeJIT::compileReallocatePropertyStorage):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::callOperation):
      (JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::cachedGetById):
      (JSC::DFG::SpeculativeJIT::cachedPutById):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::cachedGetById):
      (JSC::DFG::SpeculativeJIT::cachedPutById):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      * heap/CopiedSpace.h:
      (CopiedSpace):
      * jit/JIT.h:
      * jit/JITInlineMethods.h:
      (JSC::JIT::emitAllocateBasicJSObject):
      (JSC::JIT::emitAllocateBasicStorage):
      (JSC::JIT::emitAllocateJSArray):
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_new_array):
      (JSC::JIT::emitSlow_op_new_array):
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::emit_op_get_by_val):
      (JSC::JIT::compileGetDirectOffset):
      (JSC::JIT::emit_op_put_by_val):
      (JSC::JIT::compileGetByIdHotPath):
      (JSC::JIT::emit_op_put_by_id):
      (JSC::JIT::compilePutDirectOffset):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      * jit/JITPropertyAccess32_64.cpp:
      (JSC::JIT::emit_op_get_by_val):
      (JSC::JIT::emit_op_put_by_val):
      (JSC::JIT::compileGetByIdHotPath):
      (JSC::JIT::emit_op_put_by_id):
      (JSC::JIT::compilePutDirectOffset):
      (JSC::JIT::compileGetDirectOffset):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * jsc.cpp:
      * llint/LLIntSlowPaths.cpp:
      (JSC::LLInt::LLINT_SLOW_PATH_DECL):
      * llint/LowLevelInterpreter.asm:
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
      * runtime/Arguments.cpp:
      (JSC::Arguments::deletePropertyByIndex):
      (JSC::Arguments::defineOwnProperty):
      * runtime/ArrayConstructor.cpp:
      * runtime/ArrayConventions.h: Added.
      (JSC):
      (JSC::isDenseEnoughForVector):
      (JSC::indexingHeaderForArray):
      (JSC::baseIndexingHeaderForArray):
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::create):
      (JSC):
      (JSC::ArrayPrototype::ArrayPrototype):
      (JSC::arrayProtoFuncToString):
      (JSC::arrayProtoFuncJoin):
      (JSC::arrayProtoFuncSort):
      (JSC::arrayProtoFuncFilter):
      (JSC::arrayProtoFuncMap):
      (JSC::arrayProtoFuncEvery):
      (JSC::arrayProtoFuncForEach):
      (JSC::arrayProtoFuncSome):
      (JSC::arrayProtoFuncReduce):
      (JSC::arrayProtoFuncReduceRight):
      * runtime/ArrayPrototype.h:
      (ArrayPrototype):
      (JSC::ArrayPrototype::createStructure):
      * runtime/ArrayStorage.h: Added.
      (JSC):
      (ArrayStorage):
      (JSC::ArrayStorage::ArrayStorage):
      (JSC::ArrayStorage::from):
      (JSC::ArrayStorage::butterfly):
      (JSC::ArrayStorage::indexingHeader):
      (JSC::ArrayStorage::length):
      (JSC::ArrayStorage::setLength):
      (JSC::ArrayStorage::vectorLength):
      (JSC::ArrayStorage::setVectorLength):
      (JSC::ArrayStorage::copyHeaderFromDuringGC):
      (JSC::ArrayStorage::inSparseMode):
      (JSC::ArrayStorage::lengthOffset):
      (JSC::ArrayStorage::vectorLengthOffset):
      (JSC::ArrayStorage::numValuesInVectorOffset):
      (JSC::ArrayStorage::vectorOffset):
      (JSC::ArrayStorage::indexBiasOffset):
      (JSC::ArrayStorage::sparseMapOffset):
      (JSC::ArrayStorage::sizeFor):
      * runtime/Butterfly.h: Added.
      (JSC):
      (Butterfly):
      (JSC::Butterfly::Butterfly):
      (JSC::Butterfly::totalSize):
      (JSC::Butterfly::fromBase):
      (JSC::Butterfly::offsetOfIndexingHeader):
      (JSC::Butterfly::offsetOfPublicLength):
      (JSC::Butterfly::offsetOfVectorLength):
      (JSC::Butterfly::indexingHeader):
      (JSC::Butterfly::propertyStorage):
      (JSC::Butterfly::indexingPayload):
      (JSC::Butterfly::arrayStorage):
      (JSC::Butterfly::offsetOfPropertyStorage):
      (JSC::Butterfly::indexOfPropertyStorage):
      (JSC::Butterfly::base):
      * runtime/ButterflyInlineMethods.h: Added.
      (JSC):
      (JSC::Butterfly::createUninitialized):
      (JSC::Butterfly::create):
      (JSC::Butterfly::createUninitializedDuringCollection):
      (JSC::Butterfly::base):
      (JSC::Butterfly::growPropertyStorage):
      (JSC::Butterfly::growArrayRight):
      (JSC::Butterfly::resizeArray):
      (JSC::Butterfly::unshift):
      (JSC::Butterfly::shift):
      * runtime/ClassInfo.h:
      (MethodTable):
      (JSC):
      * runtime/IndexingHeader.h: Added.
      (JSC):
      (IndexingHeader):
      (JSC::IndexingHeader::offsetOfIndexingHeader):
      (JSC::IndexingHeader::offsetOfPublicLength):
      (JSC::IndexingHeader::offsetOfVectorLength):
      (JSC::IndexingHeader::IndexingHeader):
      (JSC::IndexingHeader::vectorLength):
      (JSC::IndexingHeader::setVectorLength):
      (JSC::IndexingHeader::publicLength):
      (JSC::IndexingHeader::setPublicLength):
      (JSC::IndexingHeader::from):
      (JSC::IndexingHeader::fromEndOf):
      (JSC::IndexingHeader::propertyStorage):
      (JSC::IndexingHeader::arrayStorage):
      (JSC::IndexingHeader::butterfly):
      * runtime/IndexingHeaderInlineMethods.h: Added.
      (JSC):
      (JSC::IndexingHeader::preCapacity):
      (JSC::IndexingHeader::indexingPayloadSizeInBytes):
      * runtime/IndexingType.h: Added.
      (JSC):
      (JSC::hasIndexingHeader):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::JSActivation):
      (JSC::JSActivation::visitChildren):
      (JSC::JSActivation::getOwnNonIndexPropertyNames):
      * runtime/JSActivation.h:
      (JSActivation):
      (JSC::JSActivation::tearOff):
      * runtime/JSArray.cpp:
      (JSC):
      (JSC::createArrayButterflyInDictionaryIndexingMode):
      (JSC::JSArray::setLengthWritable):
      (JSC::JSArray::defineOwnProperty):
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      (JSC::JSArray::getOwnNonIndexPropertyNames):
      (JSC::JSArray::unshiftCountSlowCase):
      (JSC::JSArray::setLength):
      (JSC::JSArray::pop):
      (JSC::JSArray::push):
      (JSC::JSArray::shiftCount):
      (JSC::JSArray::unshiftCount):
      (JSC::JSArray::sortNumeric):
      (JSC::JSArray::sort):
      (JSC::JSArray::fillArgList):
      (JSC::JSArray::copyToArguments):
      (JSC::JSArray::compactForSorting):
      * runtime/JSArray.h:
      (JSC):
      (JSArray):
      (JSC::JSArray::JSArray):
      (JSC::JSArray::length):
      (JSC::JSArray::createStructure):
      (JSC::JSArray::isLengthWritable):
      (JSC::createArrayButterfly):
      (JSC::JSArray::create):
      (JSC::JSArray::tryCreateUninitialized):
      * runtime/JSBoundFunction.cpp:
      (JSC::boundFunctionCall):
      (JSC::boundFunctionConstruct):
      (JSC::JSBoundFunction::finishCreation):
      * runtime/JSCell.cpp:
      (JSC::JSCell::getOwnNonIndexPropertyNames):
      (JSC):
      * runtime/JSCell.h:
      (JSCell):
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getOwnPropertySlot):
      (JSC::JSFunction::getOwnPropertyDescriptor):
      (JSC::JSFunction::getOwnNonIndexPropertyNames):
      (JSC::JSFunction::defineOwnProperty):
      * runtime/JSFunction.h:
      (JSFunction):
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      * runtime/JSGlobalData.h:
      (JSGlobalData):
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Holder::appendNextProperty):
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC):
      (JSC::JSObject::visitButterfly):
      (JSC::JSObject::visitChildren):
      (JSC::JSFinalObject::visitChildren):
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::put):
      (JSC::JSObject::putByIndex):
      (JSC::JSObject::enterDictionaryIndexingModeWhenArrayStorageAlreadyExists):
      (JSC::JSObject::enterDictionaryIndexingMode):
      (JSC::JSObject::createArrayStorage):
      (JSC::JSObject::createInitialArrayStorage):
      (JSC::JSObject::ensureArrayStorageExistsAndEnterDictionaryIndexingMode):
      (JSC::JSObject::putDirectAccessor):
      (JSC::JSObject::deleteProperty):
      (JSC::JSObject::deletePropertyByIndex):
      (JSC::JSObject::getOwnPropertyNames):
      (JSC::JSObject::getOwnNonIndexPropertyNames):
      (JSC::JSObject::preventExtensions):
      (JSC::JSObject::fillGetterPropertySlot):
      (JSC::JSObject::putIndexedDescriptor):
      (JSC::JSObject::defineOwnIndexedProperty):
      (JSC::JSObject::allocateSparseIndexMap):
      (JSC::JSObject::deallocateSparseIndexMap):
      (JSC::JSObject::putByIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::putByIndexBeyondVectorLength):
      (JSC::JSObject::putDirectIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::putDirectIndexBeyondVectorLength):
      (JSC::JSObject::getNewVectorLength):
      (JSC::JSObject::increaseVectorLength):
      (JSC::JSObject::checkIndexingConsistency):
      (JSC::JSObject::growOutOfLineStorage):
      (JSC::JSObject::getOwnPropertyDescriptor):
      (JSC::putDescriptor):
      (JSC::JSObject::putDirectMayBeIndex):
      (JSC::JSObject::defineOwnNonIndexProperty):
      (JSC::JSObject::defineOwnProperty):
      (JSC::JSObject::getOwnPropertySlotSlow):
      * runtime/JSObject.h:
      (JSC::JSObject::getArrayLength):
      (JSObject):
      (JSC::JSObject::getVectorLength):
      (JSC::JSObject::putDirectIndex):
      (JSC::JSObject::canGetIndexQuickly):
      (JSC::JSObject::getIndexQuickly):
      (JSC::JSObject::canSetIndexQuickly):
      (JSC::JSObject::setIndexQuickly):
      (JSC::JSObject::initializeIndex):
      (JSC::JSObject::completeInitialization):
      (JSC::JSObject::inSparseIndexingMode):
      (JSC::JSObject::butterfly):
      (JSC::JSObject::outOfLineStorage):
      (JSC::JSObject::offsetForLocation):
      (JSC::JSObject::indexingShouldBeSparse):
      (JSC::JSObject::butterflyOffset):
      (JSC::JSObject::butterflyAddress):
      (JSC::JSObject::arrayStorage):
      (JSC::JSObject::arrayStorageOrZero):
      (JSC::JSObject::ensureArrayStorage):
      (JSC::JSObject::checkIndexingConsistency):
      (JSC::JSNonFinalObject::JSNonFinalObject):
      (JSC):
      (JSC::JSObject::setButterfly):
      (JSC::JSObject::setButterflyWithoutChangingStructure):
      (JSC::JSObject::JSObject):
      (JSC::JSObject::inlineGetOwnPropertySlot):
      (JSC::JSObject::putDirectInternal):
      (JSC::JSObject::setStructureAndReallocateStorageIfNecessary):
      (JSC::JSObject::putDirectWithoutTransition):
      (JSC::offsetInButterfly):
      (JSC::offsetRelativeToPatchedStorage):
      (JSC::indexRelativeToBase):
      (JSC::offsetRelativeToBase):
      * runtime/JSPropertyNameIterator.cpp:
      (JSC::JSPropertyNameIterator::create):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnNonIndexPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSSymbolTableObject):
      * runtime/JSTypeInfo.h:
      (JSC):
      (JSC::TypeInfo::interceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero):
      (JSC::TypeInfo::overridesGetPropertyNames):
      * runtime/LiteralParser.cpp:
      (JSC::::parse):
      * runtime/ObjectConstructor.cpp:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::ObjectPrototype):
      (JSC):
      * runtime/ObjectPrototype.h:
      (ObjectPrototype):
      * runtime/PropertyOffset.h:
      (JSC::offsetInOutOfLineStorage):
      * runtime/PropertyStorage.h: Added.
      (JSC):
      * runtime/PutDirectIndexMode.h: Added.
      (JSC):
      * runtime/RegExpMatchesArray.cpp:
      (JSC::RegExpMatchesArray::RegExpMatchesArray):
      (JSC):
      (JSC::RegExpMatchesArray::create):
      (JSC::RegExpMatchesArray::finishCreation):
      * runtime/RegExpMatchesArray.h:
      (RegExpMatchesArray):
      (JSC::RegExpMatchesArray::createStructure):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::getOwnNonIndexPropertyNames):
      * runtime/RegExpObject.h:
      (RegExpObject):
      * runtime/Reject.h: Added.
      (JSC):
      (JSC::reject):
      * runtime/SparseArrayValueMap.cpp: Added.
      (JSC):
      * runtime/SparseArrayValueMap.h: Added.
      (JSC):
      (SparseArrayEntry):
      (JSC::SparseArrayEntry::SparseArrayEntry):
      (SparseArrayValueMap):
      (JSC::SparseArrayValueMap::sparseMode):
      (JSC::SparseArrayValueMap::setSparseMode):
      (JSC::SparseArrayValueMap::lengthIsReadOnly):
      (JSC::SparseArrayValueMap::setLengthIsReadOnly):
      (JSC::SparseArrayValueMap::find):
      (JSC::SparseArrayValueMap::remove):
      (JSC::SparseArrayValueMap::notFound):
      (JSC::SparseArrayValueMap::isEmpty):
      (JSC::SparseArrayValueMap::contains):
      (JSC::SparseArrayValueMap::size):
      (JSC::SparseArrayValueMap::begin):
      (JSC::SparseArrayValueMap::end):
      * runtime/SparseArrayValueMapInlineMethods.h: Added.
      (JSC):
      (JSC::SparseArrayValueMap::SparseArrayValueMap):
      (JSC::SparseArrayValueMap::~SparseArrayValueMap):
      (JSC::SparseArrayValueMap::finishCreation):
      (JSC::SparseArrayValueMap::create):
      (JSC::SparseArrayValueMap::destroy):
      (JSC::SparseArrayValueMap::createStructure):
      (JSC::SparseArrayValueMap::add):
      (JSC::SparseArrayValueMap::putEntry):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayEntry::get):
      (JSC::SparseArrayEntry::getNonSparseMode):
      (JSC::SparseArrayValueMap::visitChildren):
      * runtime/StorageBarrier.h: Removed.
      * runtime/StringObject.cpp:
      (JSC::StringObject::putByIndex):
      (JSC):
      (JSC::StringObject::deletePropertyByIndex):
      * runtime/StringObject.h:
      (StringObject):
      * runtime/StringPrototype.cpp:
      * runtime/Structure.cpp:
      (JSC::Structure::Structure):
      (JSC::Structure::materializePropertyMap):
      (JSC::Structure::nonPropertyTransition):
      (JSC):
      * runtime/Structure.h:
      (Structure):
      (JSC::Structure::indexingType):
      (JSC::Structure::indexingTypeIncludingHistory):
      (JSC::Structure::indexingTypeOffset):
      (JSC::Structure::create):
      * runtime/StructureTransitionTable.h:
      (JSC):
      (JSC::toAttributes):
      (JSC::newIndexingType):
      (JSC::StructureTransitionTable::Hash::hash):
      * tests/mozilla/js1_6/Array/regress-304828.js:
      
      Source/WebCore: 
      
      Teach the DOM that to intercept get/put on indexed properties, you now have
      to override getOwnPropertySlotByIndex and putByIndex.
      
      No new tests because no new behavior. One test was rebased because indexed
      property iteration order now matches other engines (indexed properties always
      come first).
      
      * bindings/js/ArrayValue.cpp:
      (WebCore::ArrayValue::get):
      * bindings/js/JSBlobCustom.cpp:
      (WebCore::JSBlobConstructor::constructJSBlob):
      * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
      (WebCore::JSCanvasRenderingContext2D::setWebkitLineDash):
      * bindings/js/JSDOMStringListCustom.cpp:
      (WebCore::toDOMStringList):
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::deletePropertyByIndex):
      (WebCore):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertySlotByIndex):
      (WebCore):
      (WebCore::JSDOMWindow::putByIndex):
      (WebCore::JSDOMWindow::deletePropertyByIndex):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertySlotByIndex):
      (WebCore):
      (WebCore::JSDOMWindowShell::putByIndex):
      (WebCore::JSDOMWindowShell::deletePropertyByIndex):
      * bindings/js/JSDOMWindowShell.h:
      (JSDOMWindowShell):
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::deletePropertyByIndex):
      (WebCore):
      * bindings/js/JSInspectorFrontendHostCustom.cpp:
      (WebCore::populateContextMenuItems):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::deletePropertyByIndex):
      (WebCore):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::deletePropertyByIndex):
      (WebCore):
      * bindings/js/JSWebSocketCustom.cpp:
      (WebCore::JSWebSocketConstructor::constructJSWebSocket):
      * bindings/js/ScriptValue.cpp:
      (WebCore::jsToInspectorValue):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::serialize):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::RuntimeArray):
      * bridge/runtime_array.h:
      (JSC::RuntimeArray::createStructure):
      (RuntimeArray):
      
      LayoutTests: 
      
      Modify the JSON test to indicate that iterating over properties now returns
      indexed properties first. This is a behavior change that makes us more
      compliant with other implementations.
              
      Also check in new expected file for the edge cases of indexed property access
      with prototype accessors. This changeset introduces a known regression in that
      department, which is tracked here: https://bugs.webkit.org/show_bug.cgi?id=96596
      
      * fast/js/resources/JSON-stringify.js:
      * platform/mac/fast/js/primitive-property-access-edge-cases-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8dd0535
  5. 30 Aug, 2012 1 commit
    • benjamin@webkit.org's avatar
      Replace JSC::UString by WTF::String · cff06e46
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95271
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-08-30
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Having JSC::UString and WTF::String increase the complexity of working on WebKit, and
      add useless conversions in the bindings. It also cause some code bloat.
      
      The performance advantages of UString have been ported over in previous patches. This patch
      is the last step: getting rid of UString.
      
      In addition to the simplified code, this also reduce the binary size by 15kb on x86_64.
      
      * API/OpaqueJSString.cpp:
      (OpaqueJSString::ustring):
      * runtime/Identifier.h:
      (JSC::Identifier::ustring):
      To avoid changing everything at once, the function named ustring() were kept as is. They
      will be renamed in a follow up patch.
      
      * runtime/JSString.h:
      (JSC::JSString::string):
      (JSC::JSValue::toWTFString):
      (JSC::inlineJSValueNotStringtoString):
      (JSC::JSValue::toWTFStringInline):
      Since JSValue::toString() already exist (and return the JSString), the direct accessor is renamed
      to ::toWTFString(). We may change ::string() to ::jsString() and ::toWTFString() to ::toString()
      in the future.
      
      * runtime/StringPrototype.cpp:
      (JSC::substituteBackreferencesSlow): Replace the use of UString::getCharacters<>() by String::getCharactersWithUpconvert<>().
      
      Source/WebCore: 
      
      Update the code to use String instead of UString.
      
      On x86_64, this reduces the binary size by 22kb.
      
      Since it is no longer possible to differenciate JSC::jsString() and WebCore::jsString() by the input
      types, WebCore::jsString() is renated to WebCore::jsStringWithCache().
      
      Since the cache is using a PtrHash, JSC::jsString() is used in place of the old WebCore::jsString() when
      the string is generated locally. This is because the cache can never match in those cases.
      
      Source/WebKit/blackberry: 
      
      Replace UString by String.
      
      * WebCoreSupport/ClientExtension.cpp:
      * WebCoreSupport/PagePopupBlackBerry.cpp:
      (WebCore::PagePopupBlackBerry::installDomFunction):
      
      Source/WebKit/efl: 
      
      Replace UString by String.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::sendWebIntentResponse):
      * ewk/ewk_frame.cpp:
      (ewk_frame_script_execute):
      
      Source/WebKit/gtk: 
      
      Replace UString by String.
      
      * gdom/ConvertToGCharPrivate.h:
      (copyAsGchar):
      
      Source/WebKit/mac: 
      
      Get rid of UString, replace it by String, and simplify the code when possible.
      
      On x86_64, this reduces the binary size by 7kb.
      
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (identifierFromIdentifierRep):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::addValueToArray):
      (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyRuntimeMethod::create):
      (WebKit::ProxyRuntimeMethod::finishCreation):
      (WebKit::ProxyInstance::getPropertyNames):
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * WebView/WebFrame.mm:
      (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
      (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
      * WebView/WebScriptDebugDelegate.mm:
      (-[WebScriptCallFrame functionName]):
      (-[WebScriptCallFrame evaluateWebScript:]):
      * WebView/WebScriptDebugger.h:
      (WTF):
      (JSC):
      (WebScriptDebugger):
      * WebView/WebScriptDebugger.mm:
      (toNSURL):
      (WebScriptDebugger::sourceParsed):
      * WebView/WebView.mm:
      (aeDescFromJSValue):
      
      Source/WebKit/qt: 
      
      Replace UString by String.
      
      * Api/qwebelement.cpp:
      (QWebElement::evaluateJavaScript):
      
      Source/WebKit/win: 
      
      Replace UString by String.
      
      * WebFrame.cpp:
      (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
      * WebView.cpp:
      (WebView::stringByEvaluatingJavaScriptFromString):
      
      Source/WebKit/wx: 
      
      Update the #includes to use the correct types.
      
      * WebFrame.cpp:
      * WebView.cpp:
      
      Source/WebKit2: 
      
      Update to code to switch from UString to String.
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      (WebKit::JSNPMethod::finishCreation):
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      (WebKit::JSNPMethod::create):
      (JSNPMethod):
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::evaluate):
      (WebKit::NPRuntimeObjectMap::moveGlobalExceptionToExecState):
      
      Source/WTF: 
      
      * wtf/Platform.h: Useless edit to force a full build. This is needed for some bots for some reason.
      * wtf/text/WTFString.h: Export a symbol that was exported on UString and needed in WebCore.
      
      Add String::getCharactersWithUpconvert<>(), which is similar to String::getCharacters<>() but with the same
      behaviors as UString::getCharacters<>().
      
      String::getCharactersWithUpconvert<>() is useful when manipulating multiple strings, it allow writting code
      using 16bits characters if any of the input String is not 8bit.
      
      Tools: 
      
      Get rid of UString.
      
      * DumpRenderTree/efl/WorkQueueItemEfl.cpp:
      * gdb/webkit.py:
      (WTFStringPrinter.to_string):
      (JSCIdentifierPrinter.to_string):
      (JSCJSStringPrinter.to_string):
      (add_pretty_printers):
      
      Websites/webkit.org: 
      
      Update the coding style to avoid mentioning a class that no longer exist.
      
      * coding/coding-style.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff06e46
  6. 28 Aug, 2012 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r126914. · fa6afbc4
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/126914
      https://bugs.webkit.org/show_bug.cgi?id=95239
      
      it breaks everything and fixes nothing (Requested by pizlo on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-28
      
      Source/JavaScriptCore:
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/MarkStack.cpp:
      (JSC::MarkStack::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      (JSC::JSArray::getOwnPropertySlotByIndex):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::putByIndexBeyondVectorLength):
      (JSC::JSArray::putDirectIndexBeyondVectorLength):
      (JSC::JSArray::deletePropertyByIndex):
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::setLength):
      (JSC::JSArray::sort):
      (JSC::JSArray::compactForSorting):
      (JSC::JSArray::checkConsistency):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore:
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8GCController.cpp:
      (WebCore::enumerateGlobalHandles):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/jni/jsc/JavaClassJSC.cpp:
      (JavaClass::~JavaClass):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::WeakMap::set):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::eventTypes):
      (WebCore::EventListenerMap::add):
      (WebCore::EventListenerMap::remove):
      (WebCore::EventListenerMap::find):
      (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
      (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
      (WebCore::EventListenerIterator::nextListener):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MemoryInstrumentation.h:
      (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
      (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::setAutoLoadImages):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::reportMemoryUsage):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getVerticalData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::~TileCache):
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/TiledLayerChromium.cpp:
      (WebCore::TiledLayerChromium::pushPropertiesTo):
      (WebCore::TiledLayerChromium::setLayerTreeHost):
      (WebCore::TiledLayerChromium::invalidateContentRect):
      (WebCore::TiledLayerChromium::setTexturePriorities):
      (WebCore::TiledLayerChromium::resetUpdateState):
      * platform/graphics/chromium/cc/CCDamageTracker.cpp:
      (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
      * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
      (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
      * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
      (WebCore::CCLayerTilingData::setBounds):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::startRateLimiter):
      (WebCore::CCLayerTreeHost::stopRateLimiter):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::findRenderPassById):
      * platform/graphics/chromium/cc/CCResourceProvider.cpp:
      (WebCore::CCResourceProvider::inUseByConsumer):
      (WebCore::CCResourceProvider::deleteResource):
      (WebCore::CCResourceProvider::deleteOwnedResources):
      (WebCore::CCResourceProvider::resourceType):
      (WebCore::CCResourceProvider::upload):
      (WebCore::CCResourceProvider::lockForRead):
      (WebCore::CCResourceProvider::unlockForRead):
      (WebCore::CCResourceProvider::lockForWrite):
      (WebCore::CCResourceProvider::unlockForWrite):
      (WebCore::CCResourceProvider::destroyChild):
      (WebCore::CCResourceProvider::getChildToParentMap):
      (WebCore::CCResourceProvider::prepareSendToParent):
      (WebCore::CCResourceProvider::prepareSendToChild):
      (WebCore::CCResourceProvider::receiveFromChild):
      (WebCore::CCResourceProvider::receiveFromParent):
      (WebCore::CCResourceProvider::transferResource):
      (WebCore::CCResourceProvider::trimMailboxDeque):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getCompiledProgram):
      (WebCore::CustomFilterGlobalContext::removeCompiledProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/WrapShapeInfo.cpp:
      (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry:
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebCoreSupport/UserMediaClientImpl.cpp:
      (WebCore::UserMediaClientImpl::cancelUserMediaRequest):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium:
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac:
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt:
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win:
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2:
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::unscheduleTimer):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF:
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableKeysIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF):
      (WTF::deleteAllPairSeconds):
      (WTF::deleteAllValues):
      (WTF::deleteAllPairFirsts):
      (WTF::deleteAllKeys):
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa6afbc4
    • caio.oliveira@openbossa.org's avatar
      Rename first/second to key/value in HashMap iterators · d99b3ea7
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82784
      
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore:
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/MarkStack.cpp:
      (JSC::MarkStack::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      (JSC::JSArray::getOwnPropertySlotByIndex):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::putByIndexBeyondVectorLength):
      (JSC::JSArray::putDirectIndexBeyondVectorLength):
      (JSC::JSArray::deletePropertyByIndex):
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::setLength):
      (JSC::JSArray::sort):
      (JSC::JSArray::compactForSorting):
      (JSC::JSArray::checkConsistency):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore:
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8GCController.cpp:
      (WebCore::enumerateGlobalHandles):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/jni/jsc/JavaClassJSC.cpp:
      (JavaClass::~JavaClass):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::WeakMap::set):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::eventTypes):
      (WebCore::EventListenerMap::add):
      (WebCore::EventListenerMap::remove):
      (WebCore::EventListenerMap::find):
      (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
      (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
      (WebCore::EventListenerIterator::nextListener):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MemoryInstrumentation.h:
      (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
      (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::setAutoLoadImages):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::reportMemoryUsage):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::getVerticalData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::~TileCache):
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/TiledLayerChromium.cpp:
      (WebCore::TiledLayerChromium::pushPropertiesTo):
      (WebCore::TiledLayerChromium::setLayerTreeHost):
      (WebCore::TiledLayerChromium::invalidateContentRect):
      (WebCore::TiledLayerChromium::setTexturePriorities):
      (WebCore::TiledLayerChromium::resetUpdateState):
      * platform/graphics/chromium/cc/CCDamageTracker.cpp:
      (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
      * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
      (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
      * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
      (WebCore::CCLayerTilingData::setBounds):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::startRateLimiter):
      (WebCore::CCLayerTreeHost::stopRateLimiter):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::findRenderPassById):
      * platform/graphics/chromium/cc/CCResourceProvider.cpp:
      (WebCore::CCResourceProvider::inUseByConsumer):
      (WebCore::CCResourceProvider::deleteResource):
      (WebCore::CCResourceProvider::deleteOwnedResources):
      (WebCore::CCResourceProvider::resourceType):
      (WebCore::CCResourceProvider::upload):
      (WebCore::CCResourceProvider::lockForRead):
      (WebCore::CCResourceProvider::unlockForRead):
      (WebCore::CCResourceProvider::lockForWrite):
      (WebCore::CCResourceProvider::unlockForWrite):
      (WebCore::CCResourceProvider::destroyChild):
      (WebCore::CCResourceProvider::getChildToParentMap):
      (WebCore::CCResourceProvider::prepareSendToParent):
      (WebCore::CCResourceProvider::prepareSendToChild):
      (WebCore::CCResourceProvider::receiveFromChild):
      (WebCore::CCResourceProvider::receiveFromParent):
      (WebCore::CCResourceProvider::transferResource):
      (WebCore::CCResourceProvider::trimMailboxDeque):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getCompiledProgram):
      (WebCore::CustomFilterGlobalContext::removeCompiledProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/WrapShapeInfo.cpp:
      (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry:
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      * WebCoreSupport/UserMediaClientImpl.cpp:
      (WebCore::UserMediaClientImpl::cancelUserMediaRequest):
      
      Source/WebKit/chromium:
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac:
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt:
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win:
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2:
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::unscheduleTimer):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF:
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableKeysIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF::deleteAllValues):
      (WTF::deleteAllKeys):
      Remove deleteAllPairFirsts/Seconds.
      
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d99b3ea7
  7. 27 Aug, 2012 2 commits
    • tkent@chromium.org's avatar
      Unreviewed, rolling out r126836. · 036eca03
      tkent@chromium.org authored
      http://trac.webkit.org/changeset/126836
      https://bugs.webkit.org/show_bug.cgi?id=95163
      
      Broke all Apple ports, EFL, and Qt. (Requested by tkent on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-08-27
      
      Source/JavaScriptCore:
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/MarkStack.cpp:
      (JSC::MarkStack::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      (JSC::JSArray::getOwnPropertySlotByIndex):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::putByIndexBeyondVectorLength):
      (JSC::JSArray::putDirectIndexBeyondVectorLength):
      (JSC::JSArray::deletePropertyByIndex):
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::setLength):
      (JSC::JSArray::sort):
      (JSC::JSArray::compactForSorting):
      (JSC::JSArray::checkConsistency):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore:
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8GCController.cpp:
      (WebCore::enumerateGlobalHandles):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/jni/jsc/JavaClassJSC.cpp:
      (JavaClass::~JavaClass):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::WeakMap::set):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::eventTypes):
      (WebCore::EventListenerMap::add):
      (WebCore::EventListenerMap::remove):
      (WebCore::EventListenerMap::find):
      (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
      (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
      (WebCore::EventListenerIterator::nextListener):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MemoryInstrumentation.h:
      (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
      (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::setAutoLoadImages):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::reportMemoryUsage):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/TiledLayerChromium.cpp:
      (WebCore::TiledLayerChromium::pushPropertiesTo):
      (WebCore::TiledLayerChromium::setLayerTreeHost):
      (WebCore::TiledLayerChromium::invalidateContentRect):
      (WebCore::TiledLayerChromium::setTexturePriorities):
      (WebCore::TiledLayerChromium::resetUpdateState):
      * platform/graphics/chromium/cc/CCDamageTracker.cpp:
      (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
      * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
      (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
      * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
      (WebCore::CCLayerTilingData::setBounds):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::startRateLimiter):
      (WebCore::CCLayerTreeHost::stopRateLimiter):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::findRenderPassById):
      * platform/graphics/chromium/cc/CCResourceProvider.cpp:
      (WebCore::CCResourceProvider::inUseByConsumer):
      (WebCore::CCResourceProvider::deleteResource):
      (WebCore::CCResourceProvider::deleteOwnedResources):
      (WebCore::CCResourceProvider::resourceType):
      (WebCore::CCResourceProvider::upload):
      (WebCore::CCResourceProvider::lockForRead):
      (WebCore::CCResourceProvider::unlockForRead):
      (WebCore::CCResourceProvider::lockForWrite):
      (WebCore::CCResourceProvider::unlockForWrite):
      (WebCore::CCResourceProvider::destroyChild):
      (WebCore::CCResourceProvider::getChildToParentMap):
      (WebCore::CCResourceProvider::prepareSendToParent):
      (WebCore::CCResourceProvider::prepareSendToChild):
      (WebCore::CCResourceProvider::receiveFromChild):
      (WebCore::CCResourceProvider::receiveFromParent):
      (WebCore::CCResourceProvider::transferResource):
      (WebCore::CCResourceProvider::trimMailboxDeque):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getCompiledProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/WrapShapeInfo.cpp:
      (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry:
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium:
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac:
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt:
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win:
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2:
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::unscheduleTimer):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF:
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF):
      (WTF::deleteAllPairSeconds):
      (WTF::deleteAllValues):
      (WTF::deleteAllPairFirsts):
      (WTF::deleteAllKeys):
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      036eca03
    • caio.oliveira@openbossa.org's avatar
      Rename first/second to key/value in HashMap iterators · a94a1507
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82784
      
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore:
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/MarkStack.cpp:
      (JSC::MarkStack::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      (JSC::JSArray::getOwnPropertySlotByIndex):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::putByIndexBeyondVectorLength):
      (JSC::JSArray::putDirectIndexBeyondVectorLength):
      (JSC::JSArray::deletePropertyByIndex):
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::setLength):
      (JSC::JSArray::sort):
      (JSC::JSArray::compactForSorting):
      (JSC::JSArray::checkConsistency):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore:
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::getOrCreateIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8GCController.cpp:
      (WebCore::enumerateGlobalHandles):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/jni/jsc/JavaClassJSC.cpp:
      (JavaClass::~JavaClass):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::WeakMap::set):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::childAdded):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::willRemoveChild):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::decrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::eventTypes):
      (WebCore::EventListenerMap::add):
      (WebCore::EventListenerMap::remove):
      (WebCore::EventListenerMap::find):
      (WebCore::EventListenerMap::removeFirstEventListenerCreatedFromMarkup):
      (WebCore::EventListenerMap::copyEventListenersNotCreatedFromMarkupToTarget):
      (WebCore::EventListenerIterator::nextListener):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MemoryInstrumentation.h:
      (WebCore::MemoryInstrumentation::addInstrumentedMapEntries):
      (WebCore::MemoryInstrumentation::addInstrumentedMapValues):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::setAutoLoadImages):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::reportMemoryUsage):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/TiledLayerChromium.cpp:
      (WebCore::TiledLayerChromium::pushPropertiesTo):
      (WebCore::TiledLayerChromium::setLayerTreeHost):
      (WebCore::TiledLayerChromium::invalidateContentRect):
      (WebCore::TiledLayerChromium::setTexturePriorities):
      (WebCore::TiledLayerChromium::resetUpdateState):
      * platform/graphics/chromium/cc/CCDamageTracker.cpp:
      (WebCore::CCDamageTracker::trackDamageFromLeftoverRects):
      * platform/graphics/chromium/cc/CCDirectRenderer.cpp:
      (WebCore::CCDirectRenderer::decideRenderPassAllocationsForFrame):
      * platform/graphics/chromium/cc/CCLayerTilingData.cpp:
      (WebCore::CCLayerTilingData::setBounds):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::startRateLimiter):
      (WebCore::CCLayerTreeHost::stopRateLimiter):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::findRenderPassById):
      * platform/graphics/chromium/cc/CCResourceProvider.cpp:
      (WebCore::CCResourceProvider::inUseByConsumer):
      (WebCore::CCResourceProvider::deleteResource):
      (WebCore::CCResourceProvider::deleteOwnedResources):
      (WebCore::CCResourceProvider::resourceType):
      (WebCore::CCResourceProvider::upload):
      (WebCore::CCResourceProvider::lockForRead):
      (WebCore::CCResourceProvider::unlockForRead):
      (WebCore::CCResourceProvider::lockForWrite):
      (WebCore::CCResourceProvider::unlockForWrite):
      (WebCore::CCResourceProvider::destroyChild):
      (WebCore::CCResourceProvider::getChildToParentMap):
      (WebCore::CCResourceProvider::prepareSendToParent):
      (WebCore::CCResourceProvider::prepareSendToChild):
      (WebCore::CCResourceProvider::receiveFromChild):
      (WebCore::CCResourceProvider::receiveFromParent):
      (WebCore::CCResourceProvider::transferResource):
      (WebCore::CCResourceProvider::trimMailboxDeque):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getCompiledProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::RenderWidget::resumeWidgetHierarchyUpdates):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/WrapShapeInfo.cpp:
      (WebCore::WrapShapeInfo::ensureWrapShapeInfoForRenderBlock):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry:
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium:
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac:
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt:
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win:
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2:
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::unscheduleTimer):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF:
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF::deleteAllValues):
      (WTF::deleteAllKeys):
      Remove deleteAllPairFirsts/Seconds.
      
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a94a1507
  8. 11 May, 2012 1 commit
    • barraclough@apple.com's avatar
      Introduce PropertyName class · 38d3c75b
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=86241
      
      Reviewed by Geoff Garen.
      
      Replace 'const Identifier&' arguments to functions accessing object properties with a new 'PropertyName' type.
      This change paves the way to allow for properties keyed by values that are not Identifiers.
      
      This change is largely a mechanical find & replace.
      It also changes JSFunction's constructor to take a UString& instead of an Identifier&
      (since in some cases we can no longer guarantee that we'lll have an Identifier), and
      unifies Identifier's methods to obtain array indices onto PropertyName.
      
      The new PropertyName class retains the ability to support .impl() and .ustring(), but
      in a future patch we may need to rework this, since not all PropertyNames should be
      equal based on their string representation.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackFunction.cpp:
      (JSC::JSCallbackFunction::finishCreation):
      * API/JSCallbackFunction.h:
      (JSCallbackFunction):
      (JSC::JSCallbackFunction::create):
      * API/JSCallbackObject.h:
      (JSCallbackObject):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertySlot):
      (JSC::::getOwnPropertyDescriptor):
      (JSC::::put):
      (JSC::::deleteProperty):
      (JSC::::getStaticValue):
      (JSC::::staticFunctionGetter):
      (JSC::::callbackGetter):
      * API/JSObjectRef.cpp:
      (JSObjectMakeFunctionWithCallback):
      * JSCTypedArrayStubs.h:
      (JSC):
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::getOwnPropertySlot):
      (JSC::DebuggerActivation::put):
      (JSC::DebuggerActivation::putDirectVirtual):
      (JSC::DebuggerActivation::deleteProperty):
      (JSC::DebuggerActivation::getOwnPropertyDescriptor):
      (JSC::DebuggerActivation::defineOwnProperty):
      * debugger/DebuggerActivation.h:
      (DebuggerActivation):
      * jsc.cpp:
      (GlobalObject::addFunction):
      (GlobalObject::addConstructableFunction):
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::put):
      (JSC::Arguments::deleteProperty):
      (JSC::Arguments::defineOwnProperty):
      * runtime/Arguments.h:
      (Arguments):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::finishCreation):
      (JSC::ArrayConstructor::getOwnPropertySlot):
      (JSC::ArrayConstructor::getOwnPropertyDescriptor):
      * runtime/ArrayConstructor.h:
      (ArrayConstructor):
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::getOwnPropertySlot):
      (JSC::ArrayPrototype::getOwnPropertyDescriptor):
      (JSC::putProperty):
      * runtime/ArrayPrototype.h:
      (ArrayPrototype):
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::finishCreation):
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::getOwnPropertySlot):
      (JSC::BooleanPrototype::getOwnPropertyDescriptor):
      * runtime/BooleanPrototype.h:
      (BooleanPrototype):
      * runtime/ClassInfo.h:
      (MethodTable):
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::finishCreation):
      (JSC::DateConstructor::getOwnPropertySlot):
      (JSC::DateConstructor::getOwnPropertyDescriptor):
      * runtime/DateConstructor.h:
      (DateConstructor):
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::getOwnPropertySlot):
      (JSC::DatePrototype::getOwnPropertyDescriptor):
      * runtime/DatePrototype.h:
      (DatePrototype):
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::create):
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::finishCreation):
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::getOwnPropertySlot):
      (JSC::ErrorPrototype::getOwnPropertyDescriptor):
      * runtime/ErrorPrototype.h:
      (ErrorPrototype):
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::finishCreation):
      * runtime/FunctionPrototype.cpp:
      (JSC::FunctionPrototype::finishCreation):
      (JSC::FunctionPrototype::addFunctionProperties):
      (JSC::functionProtoFuncBind):
      * runtime/FunctionPrototype.h:
      (JSC::FunctionPrototype::create):
      (FunctionPrototype):
      * runtime/Identifier.cpp:
      (JSC):
      * runtime/Identifier.h:
      (Identifier):
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::finishCreation):
      * runtime/InternalFunction.h:
      (InternalFunction):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::symbolTableGet):
      (JSC::JSActivation::symbolTablePut):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      (JSC::JSActivation::getOwnPropertySlot):
      (JSC::JSActivation::put):
      (JSC::JSActivation::putDirectVirtual):
      (JSC::JSActivation::deleteProperty):
      (JSC::JSActivation::argumentsGetter):
      * runtime/JSActivation.h:
      (JSActivation):
      * runtime/JSArray.cpp:
      (JSC::JSArray::defineOwnProperty):
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      (JSArray):
      (JSC):
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::create):
      (JSC::JSBoundFunction::finishCreation):
      * runtime/JSBoundFunction.h:
      (JSBoundFunction):
      * runtime/JSCell.cpp:
      (JSC::JSCell::getOwnPropertySlot):
      (JSC::JSCell::put):
      (JSC::JSCell::deleteProperty):
      (JSC::JSCell::putDirectVirtual):
      (JSC::JSCell::defineOwnProperty):
      (JSC::JSCell::getOwnPropertyDescriptor):
      * runtime/JSCell.h:
      (JSCell):
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::create):
      (JSC::JSFunction::finishCreation):
      (JSC::JSFunction::argumentsGetter):
      (JSC::JSFunction::callerGetter):
      (JSC::JSFunction::lengthGetter):
      (JSC::JSFunction::getOwnPropertySlot):
      (JSC::JSFunction::getOwnPropertyDescriptor):
      (JSC::JSFunction::put):
      (JSC::JSFunction::deleteProperty):
      (JSC::JSFunction::defineOwnProperty):
      (JSC::getCalculatedDisplayName):
      * runtime/JSFunction.h:
      (JSFunction):
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::put):
      (JSC::JSGlobalObject::putDirectVirtual):
      (JSC::JSGlobalObject::defineOwnProperty):
      (JSC::JSGlobalObject::reset):
      (JSC::JSGlobalObject::createThrowTypeError):
      (JSC::JSGlobalObject::getOwnPropertySlot):
      (JSC::JSGlobalObject::getOwnPropertyDescriptor):
      * runtime/JSGlobalObject.h:
      (JSGlobalObject):
      (JSC::JSGlobalObject::hasOwnPropertyForWrite):
      (JSC::JSGlobalObject::symbolTableHasProperty):
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::getOwnPropertySlot):
      (JSC::JSNotAnObject::getOwnPropertyDescriptor):
      (JSC::JSNotAnObject::put):
      (JSC::JSNotAnObject::deleteProperty):
      * runtime/JSNotAnObject.h:
      (JSNotAnObject):
      * runtime/JSONObject.cpp:
      (JSC::JSONObject::getOwnPropertySlot):
      (JSC::JSONObject::getOwnPropertyDescriptor):
      * runtime/JSONObject.h:
      (JSONObject):
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
      (JSC::JSObject::putDirectVirtual):
      (JSC::JSObject::putDirectAccessor):
      (JSC::JSObject::hasProperty):
      (JSC::JSObject::deleteProperty):
      (JSC::JSObject::hasOwnProperty):
      (JSC::callDefaultValueFunction):
      (JSC::JSObject::findPropertyHashEntry):
      (JSC::JSObject::getPropertySpecificValue):
      (JSC::JSObject::removeDirect):
      (JSC::JSObject::getOwnPropertyDescriptor):
      (JSC::JSObject::getPropertyDescriptor):
      (JSC::putDescriptor):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      (JSObject):
      (JSC::JSObject::getDirect):
      (JSC::JSObject::getDirectLocation):
      (JSC::JSObject::inlineGetOwnPropertySlot):
      (JSC::JSObject::getOwnPropertySlot):
      (JSC::JSCell::fastGetOwnPropertySlot):
      (JSC::JSObject::getPropertySlot):
      (JSC::JSObject::get):
      (JSC::JSObject::putDirectInternal):
      (JSC::JSObject::putOwnDataProperty):
      (JSC::JSObject::putDirect):
      (JSC::JSObject::putDirectWithoutTransition):
      (JSC::JSValue::get):
      (JSC::JSValue::put):
      * runtime/JSStaticScopeObject.cpp:
      (JSC::JSStaticScopeObject::put):
      (JSC::JSStaticScopeObject::putDirectVirtual):
      (JSC::JSStaticScopeObject::getOwnPropertySlot):
      * runtime/JSStaticScopeObject.h:
      (JSStaticScopeObject):
      * runtime/JSString.cpp:
      (JSC::JSString::getOwnPropertySlot):
      (JSC::JSString::getStringPropertyDescriptor):
      * runtime/JSString.h:
      (JSString):
      (JSC::JSString::getStringPropertySlot):
      * runtime/JSValue.cpp:
      (JSC::JSValue::putToPrimitive):
      * runtime/JSValue.h:
      (JSC):
      (JSValue):
      * runtime/JSVariableObject.cpp:
      (JSC::JSVariableObject::deleteProperty):
      (JSC::JSVariableObject::symbolTableGet):
      (JSC::JSVariableObject::putDirectVirtual):
      * runtime/JSVariableObject.h:
      (JSVariableObject):
      (JSC::JSVariableObject::symbolTableGet):
      (JSC::JSVariableObject::symbolTablePut):
      (JSC::JSVariableObject::symbolTablePutWithAttributes):
      * runtime/Lookup.cpp:
      (JSC::setUpStaticFunctionSlot):
      * runtime/Lookup.h:
      (JSC::HashTable::entry):
      (JSC):
      (JSC::getStaticPropertySlot):
      (JSC::getStaticPropertyDescriptor):
      (JSC::getStaticFunctionSlot):
      (JSC::getStaticFunctionDescriptor):
      (JSC::getStaticValueSlot):
      (JSC::getStaticValueDescriptor):
      (JSC::lookupPut):
      * runtime/MathObject.cpp:
      (JSC::MathObject::getOwnPropertySlot):
      (JSC::MathObject::getOwnPropertyDescriptor):
      * runtime/MathObject.h:
      (MathObject):
      * runtime/NativeErrorConstructor.h:
      (JSC::NativeErrorConstructor::finishCreation):
      * runtime/NumberConstructor.cpp:
      (JSC):
      (JSC::NumberConstructor::finishCreation):
      (JSC::NumberConstructor::getOwnPropertySlot):
      (JSC::NumberConstructor::getOwnPropertyDescriptor):
      (JSC::NumberConstructor::put):
      (JSC::numberConstructorNaNValue):
      (JSC::numberConstructorNegInfinity):
      (JSC::numberConstructorPosInfinity):
      (JSC::numberConstructorMaxValue):
      (JSC::numberConstructorMinValue):
      * runtime/NumberConstructor.h:
      (NumberConstructor):
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::getOwnPropertySlot):
      (JSC::NumberPrototype::getOwnPropertyDescriptor):
      * runtime/NumberPrototype.h:
      (NumberPrototype):
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::finishCreation):
      (JSC::ObjectConstructor::getOwnPropertySlot):
      (JSC::ObjectConstructor::getOwnPropertyDescriptor):
      * runtime/ObjectConstructor.h:
      (ObjectConstructor):
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::put):
      (JSC::ObjectPrototype::defineOwnProperty):
      (JSC::ObjectPrototype::getOwnPropertySlot):
      (JSC::ObjectPrototype::getOwnPropertyDescriptor):
      * runtime/ObjectPrototype.h:
      (ObjectPrototype):
      * runtime/PropertySlot.h:
      (PropertySlot):
      (JSC::PropertySlot::getValue):
      * runtime/RegExpConstructor.cpp:
      (JSC):
      (JSC::RegExpConstructor::finishCreation):
      (JSC::RegExpConstructor::getOwnPropertySlot):
      (JSC::RegExpConstructor::getOwnPropertyDescriptor):
      (JSC::regExpConstructorDollar1):
      (JSC::regExpConstructorDollar2):
      (JSC::regExpConstructorDollar3):
      (JSC::regExpConstructorDollar4):
      (JSC::regExpConstructorDollar5):
      (JSC::regExpConstructorDollar6):
      (JSC::regExpConstructorDollar7):
      (JSC::regExpConstructorDollar8):
      (JSC::regExpConstructorDollar9):
      (JSC::regExpConstructorInput):
      (JSC::regExpConstructorMultiline):
      (JSC::regExpConstructorLastMatch):
      (JSC::regExpConstructorLastParen):
      (JSC::regExpConstructorLeftContext):
      (JSC::regExpConstructorRightContext):
      (JSC::RegExpConstructor::put):
      * runtime/RegExpConstructor.h:
      (RegExpConstructor):
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::getOwnPropertySlot):
      (JSC::RegExpMatchesArray::getOwnPropertyDescriptor):
      (JSC::RegExpMatchesArray::put):
      (JSC::RegExpMatchesArray::deleteProperty):
      (JSC::RegExpMatchesArray::defineOwnProperty):
      * runtime/RegExpObject.cpp:
      (JSC):
      (JSC::RegExpObject::getOwnPropertySlot):
      (JSC::RegExpObject::getOwnPropertyDescriptor):
      (JSC::RegExpObject::deleteProperty):
      (JSC::RegExpObject::defineOwnProperty):
      (JSC::regExpObjectGlobal):
      (JSC::regExpObjectIgnoreCase):
      (JSC::regExpObjectMultiline):
      (JSC::regExpObjectSource):
      (JSC::RegExpObject::put):
      * runtime/RegExpObject.h:
      (RegExpObject):
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::getOwnPropertySlot):
      (JSC::RegExpPrototype::getOwnPropertyDescriptor):
      * runtime/RegExpPrototype.h:
      (RegExpPrototype):
      * runtime/StrictEvalActivation.cpp:
      (JSC::StrictEvalActivation::deleteProperty):
      * runtime/StrictEvalActivation.h:
      (StrictEvalActivation):
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::finishCreation):
      (JSC::StringConstructor::getOwnPropertySlot):
      (JSC::StringConstructor::getOwnPropertyDescriptor):
      * runtime/StringConstructor.h:
      (StringConstructor):
      * runtime/StringObject.cpp:
      (JSC::StringObject::getOwnPropertySlot):
      (JSC::StringObject::getOwnPropertyDescriptor):
      (JSC::StringObject::put):
      (JSC::StringObject::defineOwnProperty):
      (JSC::StringObject::deleteProperty):
      * runtime/StringObject.h:
      (StringObject):
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::getOwnPropertySlot):
      (JSC::StringPrototype::getOwnPropertyDescriptor):
      * runtime/StringPrototype.h:
      (StringPrototype):
      * runtime/Structure.cpp:
      (JSC::Structure::despecifyDictionaryFunction):
      (JSC::Structure::addPropertyTransitionToExistingStructure):
      (JSC::Structure::addPropertyTransition):
      (JSC::Structure::removePropertyTransition):
      (JSC::Structure::despecifyFunctionTransition):
      (JSC::Structure::attributeChangeTransition):
      (JSC::Structure::addPropertyWithoutTransition):
      (JSC::Structure::removePropertyWithoutTransition):
      (JSC::Structure::get):
      (JSC::Structure::despecifyFunction):
      (JSC::Structure::putSpecificValue):
      (JSC::Structure::remove):
      * runtime/Structure.h:
      (Structure):
      (JSC::Structure::get):
      
      Source/WebCore: 
      
      * WebCore.exp.in:
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      (WebCore::cssPropertyIDForJSCSSPropertyName):
      (WebCore::JSCSSStyleDeclaration::getOwnPropertySlotDelegate):
      (WebCore::JSCSSStyleDeclaration::getOwnPropertyDescriptorDelegate):
      (WebCore::JSCSSStyleDeclaration::putDelegate):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::findAtomicString):
      (WebCore::objectToStringFunctionGetter):
      * bindings/js/JSDOMBinding.h:
      (WebCore):
      (WebCore::propertyNameToString):
      (WebCore::propertyNameToAtomicString):
      * bindings/js/JSDOMMimeTypeArrayCustom.cpp:
      (WebCore::JSDOMMimeTypeArray::canGetItemsForName):
      (WebCore::JSDOMMimeTypeArray::nameGetter):
      * bindings/js/JSDOMPluginArrayCustom.cpp:
      (WebCore::JSDOMPluginArray::canGetItemsForName):
      (WebCore::JSDOMPluginArray::nameGetter):
      * bindings/js/JSDOMPluginCustom.cpp:
      (WebCore::JSDOMPlugin::canGetItemsForName):
      (WebCore::JSDOMPlugin::nameGetter):
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::canGetItemsForName):
      (WebCore::JSDOMStringMap::nameGetter):
      (WebCore::JSDOMStringMap::deleteProperty):
      (WebCore::JSDOMStringMap::putDelegate):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::nonCachingStaticFunctionGetter):
      (WebCore::childFrameGetter):
      (WebCore::namedItemGetter):
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      (WebCore::JSDOMWindow::put):
      (WebCore::JSDOMWindow::deleteProperty):
      (WebCore::JSDOMWindow::defineOwnProperty):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertySlot):
      (WebCore::JSDOMWindowShell::getOwnPropertyDescriptor):
      (WebCore::JSDOMWindowShell::put):
      (WebCore::JSDOMWindowShell::putDirectVirtual):
      (WebCore::JSDOMWindowShell::defineOwnProperty):
      (WebCore::JSDOMWindowShell::deleteProperty):
      * bindings/js/JSDOMWindowShell.h:
      (JSDOMWindowShell):
      * bindings/js/JSHTMLAllCollectionCustom.cpp:
      (WebCore::getNamedItems):
      (WebCore::callHTMLAllCollection):
      (WebCore::JSHTMLAllCollection::canGetItemsForName):
      (WebCore::JSHTMLAllCollection::nameGetter):
      (WebCore::JSHTMLAllCollection::item):
      * bindings/js/JSHTMLAppletElementCustom.cpp:
      (WebCore::JSHTMLAppletElement::getOwnPropertySlotDelegate):
      (WebCore::JSHTMLAppletElement::getOwnPropertyDescriptorDelegate):
      (WebCore::JSHTMLAppletElement::putDelegate):
      * bindings/js/JSHTMLCollectionCustom.cpp:
      (WebCore::getNamedItems):
      (WebCore::JSHTMLCollection::canGetItemsForName):
      (WebCore::JSHTMLCollection::nameGetter):
      * bindings/js/JSHTMLDocumentCustom.cpp:
      (WebCore::JSHTMLDocument::canGetItemsForName):
      (WebCore::JSHTMLDocument::nameGetter):
      * bindings/js/JSHTMLEmbedElementCustom.cpp:
      (WebCore::JSHTMLEmbedElement::getOwnPropertySlotDelegate):
      (WebCore::JSHTMLEmbedElement::getOwnPropertyDescriptorDelegate):
      (WebCore::JSHTMLEmbedElement::putDelegate):
      * bindings/js/JSHTMLFormElementCustom.cpp:
      (WebCore::JSHTMLFormElement::canGetItemsForName):
      (WebCore::JSHTMLFormElement::nameGetter):
      * bindings/js/JSHTMLFrameSetElementCustom.cpp:
      (WebCore::JSHTMLFrameSetElement::canGetItemsForName):
      (WebCore::JSHTMLFrameSetElement::nameGetter):
      * bindings/js/JSHTMLObjectElementCustom.cpp:
      (WebCore::JSHTMLObjectElement::getOwnPropertySlotDelegate):
      (WebCore::JSHTMLObjectElement::getOwnPropertyDescriptorDelegate):
      (WebCore::JSHTMLObjectElement::putDelegate):
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::nonCachingStaticBackFunctionGetter):
      (WebCore::nonCachingStaticForwardFunctionGetter):
      (WebCore::nonCachingStaticGoFunctionGetter):
      (WebCore::JSHistory::getOwnPropertySlotDelegate):
      (WebCore::JSHistory::getOwnPropertyDescriptorDelegate):
      (WebCore::JSHistory::putDelegate):
      (WebCore::JSHistory::deleteProperty):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::nonCachingStaticReplaceFunctionGetter):
      (WebCore::nonCachingStaticReloadFunctionGetter):
      (WebCore::nonCachingStaticAssignFunctionGetter):
      (WebCore::JSLocation::getOwnPropertySlotDelegate):
      (WebCore::JSLocation::getOwnPropertyDescriptorDelegate):
      (WebCore::JSLocation::putDelegate):
      (WebCore::JSLocation::deleteProperty):
      (WebCore::JSLocation::defineOwnProperty):
      (WebCore::JSLocationPrototype::putDelegate):
      (WebCore::JSLocationPrototype::defineOwnProperty):
      * bindings/js/JSNamedNodeMapCustom.cpp:
      (WebCore::JSNamedNodeMap::canGetItemsForName):
      (WebCore::JSNamedNodeMap::nameGetter):
      * bindings/js/JSNodeListCustom.cpp:
      (WebCore::JSNodeList::canGetItemsForName):
      (WebCore::JSNodeList::nameGetter):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectPropertyGetter):
      (WebCore::runtimeObjectCustomGetOwnPropertySlot):
      (WebCore::runtimeObjectCustomGetOwnPropertyDescriptor):
      (WebCore::runtimeObjectCustomPut):
      * bindings/js/JSPluginElementFunctions.h:
      (WebCore):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::canGetItemsForName):
      (WebCore::JSStorage::nameGetter):
      (WebCore::JSStorage::deleteProperty):
      (WebCore::JSStorage::putDelegate):
      * bindings/js/JSStyleSheetListCustom.cpp:
      (WebCore::JSStyleSheetList::canGetItemsForName):
      (WebCore::JSStyleSheetList::nameGetter):
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::getOwnPropertySlotDelegate):
      (WebCore::JSWorkerContext::getOwnPropertyDescriptorDelegate):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bridge/c/c_class.cpp:
      (JSC::Bindings::CClass::methodsNamed):
      (JSC::Bindings::CClass::fieldNamed):
      * bridge/c/c_class.h:
      (CClass):
      * bridge/c/c_instance.cpp:
      (JSC::Bindings::CRuntimeMethod::create):
      (JSC::Bindings::CRuntimeMethod::finishCreation):
      (JSC::Bindings::CInstance::getMethod):
      * bridge/c/c_instance.h:
      (CInstance):
      * bridge/jni/jsc/JavaClassJSC.cpp:
      (JavaClass::methodsNamed):
      (JavaClass::fieldNamed):
      * bridge/jni/jsc/JavaClassJSC.h:
      (JavaClass):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaRuntimeMethod::create):
      (JavaRuntimeMethod::finishCreation):
      * bridge/jni/jsc/JavaInstanceJSC.h:
      (JavaInstance):
      * bridge/jsc/BridgeJSC.h:
      (Class):
      (JSC::Bindings::Class::fallbackObject):
      (JSC::Bindings::Instance::setValueOfUndefinedField):
      (Instance):
      (JSC::Bindings::Instance::getOwnPropertySlot):
      (JSC::Bindings::Instance::getOwnPropertyDescriptor):
      (JSC::Bindings::Instance::put):
      * bridge/objc/objc_class.h:
      (ObjcClass):
      * bridge/objc/objc_class.mm:
      (JSC::Bindings::ObjcClass::methodsNamed):
      (JSC::Bindings::ObjcClass::fieldNamed):
      (JSC::Bindings::ObjcClass::fallbackObject):
      * bridge/objc/objc_instance.h:
      (ObjcInstance):
      * bridge/objc/objc_instance.mm:
      (ObjCRuntimeMethod::create):
      (ObjCRuntimeMethod::finishCreation):
      (ObjcInstance::setValueOfUndefinedField):
      (ObjcInstance::getValueOfUndefinedField):
      * bridge/objc/objc_runtime.h:
      (JSC::Bindings::ObjcFallbackObjectImp::create):
      (JSC::Bindings::ObjcFallbackObjectImp::propertyName):
      (ObjcFallbackObjectImp):
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
      (JSC::Bindings::ObjcFallbackObjectImp::getOwnPropertySlot):
      (JSC::Bindings::ObjcFallbackObjectImp::getOwnPropertyDescriptor):
      (JSC::Bindings::ObjcFallbackObjectImp::put):
      (JSC::Bindings::callObjCFallbackObject):
      (JSC::Bindings::ObjcFallbackObjectImp::deleteProperty):
      (JSC::Bindings::ObjcFallbackObjectImp::defaultValue):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::lengthGetter):
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::put):
      (JSC::RuntimeArray::deleteProperty):
      * bridge/runtime_array.h:
      (RuntimeArray):
      * bridge/runtime_method.cpp:
      (JSC::RuntimeMethod::finishCreation):
      (JSC::RuntimeMethod::lengthGetter):
      (JSC::RuntimeMethod::getOwnPropertySlot):
      (JSC::RuntimeMethod::getOwnPropertyDescriptor):
      * bridge/runtime_method.h:
      (JSC::RuntimeMethod::create):
      (RuntimeMethod):
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::fallbackObjectGetter):
      (JSC::Bindings::RuntimeObject::fieldGetter):
      (JSC::Bindings::RuntimeObject::methodGetter):
      (JSC::Bindings::RuntimeObject::getOwnPropertySlot):
      (JSC::Bindings::RuntimeObject::getOwnPropertyDescriptor):
      (JSC::Bindings::RuntimeObject::put):
      (JSC::Bindings::RuntimeObject::deleteProperty):
      * bridge/runtime_object.h:
      (RuntimeObject):
      
      Source/WebKit/mac: 
      
      * Plugins/Hosted/ProxyInstance.h:
      (ProxyInstance):
      * Plugins/Hosted/ProxyInstance.mm:
      (ProxyClass):
      (WebKit::ProxyClass::methodsNamed):
      (WebKit::ProxyClass::fieldNamed):
      (WebKit::ProxyRuntimeMethod::create):
      (WebKit::ProxyRuntimeMethod::finishCreation):
      (WebKit::ProxyInstance::getMethod):
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      
      Source/WebKit2: 
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      (WebKit::JSNPMethod::finishCreation):
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      (WebKit::JSNPMethod::create):
      (JSNPMethod):
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      (WebKit::JSNPObject::getOwnPropertySlot):
      (WebKit::JSNPObject::getOwnPropertyDescriptor):
      (WebKit::JSNPObject::put):
      (WebKit::JSNPObject::deleteProperty):
      (WebKit::JSNPObject::propertyGetter):
      (WebKit::JSNPObject::methodGetter):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      (JSNPObject):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38d3c75b
  9. 29 Mar, 2012 1 commit
    • caio.oliveira@openbossa.org's avatar
      HashMap<>::add should return a more descriptive object · 4c11ee05
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71063
      
      Reviewed by Ryosuke Niwa.
      
      Source/JavaScriptCore:
      
      Update code to use AddResult instead of a pair. Note that since WeakGCMap wraps
      the iterator type, there's a need for its own AddResult type -- instantiated from
      HashTableAddResult template class.
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::contextData):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      (JSC::JITThunks::hostFunctionStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * parser/Parser.h:
      (JSC::Scope::declareParameter):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      (JSC::Identifier::add8):
      (JSC::Identifier::addSlowCase):
      * runtime/Identifier.h:
      (JSC::Identifier::add):
      (JSC::IdentifierTable::add):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::add):
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      * runtime/JSArray.h:
      (SparseArrayValueMap):
      * runtime/PropertyNameArray.cpp:
      (JSC::PropertyNameArray::add):
      * runtime/StringRecursionChecker.h:
      (JSC::StringRecursionChecker::performCheck):
      * runtime/Structure.cpp:
      (JSC::StructureTransitionTable::add):
      * runtime/WeakGCMap.h:
      (WeakGCMap):
      (JSC::WeakGCMap::add):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      
      Source/WebCore:
      
      Update code to use AddResult instead of a pair. No new tests, just a refactoring.
      
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::updateDatabaseSize):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMBinding.h:
      (WebCore::cacheWrapper):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::startObjectInternal):
      (WebCore::CloneSerializer::write):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::npCreateV8ScriptObject):
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::logUnimplementedPropertyID):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSStyleApplyProperty.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::appendAuthorStylesheets):
      (WebCore::CSSStyleSelector::collectMatchingRulesForList):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createIdentifierValue):
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::RadioButtonGroup::add):
      (WebCore::CheckedRadioButtons::addButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      (WebCore::Document::getItems):
      * dom/DocumentEventQueue.cpp:
      (WebCore::DocumentEventQueue::enqueueEvent):
      (WebCore::DocumentEventQueue::enqueueOrDispatchScrollEvent):
      (WebCore::DocumentEventQueue::pendingEventTimerFired):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::add):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::add):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::getElementsByTagName):
      (WebCore::Node::getElementsByTagNameNS):
      (WebCore::Node::getElementsByName):
      (WebCore::Node::getElementsByClassName):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/QualifiedName.cpp:
      (WebCore::QualifiedName::init):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollection::append):
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::performSearch):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      * inspector/InspectorValues.h:
      (WebCore::InspectorObject::setValue):
      (WebCore::InspectorObject::setObject):
      (WebCore::InspectorObject::setArray):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::addVisitedLink):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      * page/TouchAdjustment.cpp:
      (WebCore::TouchAdjustment::compileSubtargetList):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeInteger):
      (WebCore::BinaryPropertyListPlan::writeString):
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::addTileJob):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/LayerChangesFlusher.cpp:
      (WebCore::LayerChangesFlusher::flushPendingLayerChangesSoon):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
      (WebCore::CCLayerAnimationController::startAnimationsWaitingForTargetAvailability):
      * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
      (WebCore::initializeATSUStyle):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::getStyleContext):
      * platform/mac/ThreadCheck.mm:
      (WebCoreReportThreadViolation):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::add):
      * platform/network/HTTPHeaderMap.h:
      (HTTPHeaderMap):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::add):
      (WebCore::PluginDatabase::loadPersistentMetadataCache):
      * plugins/win/PluginDatabaseWin.cpp:
      (WebCore::PluginDatabase::getPluginPathsInDirectories):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addPercentHeightDescendant):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::addDependencyOnFlowThread):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::setItem):
      (WebCore::StorageMap::importItem):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::addPendingResource):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::FunId::evaluate):
      * xml/XPathPath.cpp:
      (WebCore::XPath::LocationPath::evaluate):
      * xml/XPathPredicate.cpp:
      (WebCore::XPath::Union::evaluate):
      
      Source/WebKit/chromium:
      
      Update code to use AddResult instead of a pair.
      
      * src/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * src/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      
      Source/WebKit/mac:
      
      Update code to use AddResult instead of a pair.
      
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      
      Source/WebKit/win:
      
      Update code to use AddResult instead of a pair.
      
      * WebKitCOMAPI.cpp:
      (classFactory):
      
      Source/WebKit2:
      
      Update code to use AddResult instead of a pair.
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      * Shared/MutableDictionary.cpp:
      (WebKit::MutableDictionary::add):
      (WebKit::MutableDictionary::set):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/mac/CommandLineMac.cpp:
      (WebKit::CommandLine::parse):
      * UIProcess/API/mac/WKPrintingView.mm:
      (pageDidDrawToPDF):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::addBackForwardItem):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::show):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      
      Source/WTF:
      
      Make HashTable<>::add() and derivate functions return an AddResult struct instead
      of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
      more readable at callsites than previous 'first' and 'second'.
      
      * wtf/HashCountedSet.h:
      (HashCountedSet):
      (WTF::::add):
      * wtf/HashMap.h:
      (HashMap):
      (WTF):
      (WTF::::set):
      * wtf/HashSet.h:
      (HashSet):
      (WTF::::add):
      (WTF):
      * wtf/HashTable.h:
      (WTF::HashTableAddResult::HashTableAddResult):
      (HashTableAddResult):
      (WTF):
      (HashTable):
      (WTF::HashTable::add):
      (WTF::::add):
      (WTF::::addPassingHashCode):
      * wtf/ListHashSet.h:
      (ListHashSet):
      (WTF::::add):
      (WTF::::insertBefore):
      * wtf/RefPtrHashMap.h:
      (WTF):
      (WTF::::set):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      * wtf/WTFThreadData.cpp:
      (JSC::IdentifierTable::add):
      * wtf/WTFThreadData.h:
      (IdentifierTable):
      * wtf/text/AtomicString.cpp:
      (WTF::addToStringTable):
      (WTF::AtomicString::addSlowCase):
      
      Tools:
      
      Update code to use AddResult instead of a pair.
      
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::evaluateScriptInIsolatedWorld):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::evaluateScriptInIsolatedWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c11ee05
  10. 19 Mar, 2012 1 commit
    • barraclough@apple.com's avatar
      JSCallbackFunction::toStringCallback/valueOfCallback do not handle 0 return... · a0ee621d
      barraclough@apple.com authored
      JSCallbackFunction::toStringCallback/valueOfCallback do not handle 0 return value from convertToType
      https://bugs.webkit.org/show_bug.cgi?id=81468 <rdar://problem/11034745>
      
      Reviewed by Oliver Hunt.
      
      The API specifies that convertToType may opt not to handle a conversion:
          "@result The objects's converted value, or NULL if the object was not converted."
      In which case, it would propagate first up the JSClass hierarchy, calling its superclass's
      conversion functions, and failing that call the JSObject::defaultValue function.
      
      Unfortunately this behaviour was removed in bug#69677/bug#69858, and instead we now rely on
      the toStringCallback/valueOfCallback function introduced in bug#69156. Even after a fix in
      bug#73368, these will return the result from the first convertToType they find, regardless
      of whether this result is null, and if no convertToType method is found in the api class
      hierarchy (possible if toStringCallback/valueOfCallback was accessed off the prototype
      chain), they will also return a null pointer. This is unsafe.
      
      It would be easy to make the approach based around toStringCallback/valueOfCallback continue
      to walk the api class hierarchy, but making the fallback to defaultValue would be problematic
      (since defaultValue calls toStringCallback/valueOfCallback, this would infinitely recurse).
      Making the fallback work with toString/valueOf methods attached to api objects is probably
      not the right thing to do – instead, we should just implement the defaultValue trap for api
      objects.
      
      In addition, this bug highlights that fact that JSCallbackFunction::call will allow a hard
      null to be returned from C to JavaScript - this is not okay. Handle with an exception.
      
      * API/JSCallbackFunction.cpp:
      (JSC::JSCallbackFunction::call):
          - Should be null checking the return value.
      (JSC):
          - Remove toStringCallback/valueOfCallback.
      * API/JSCallbackFunction.h:
      (JSCallbackFunction):
          - Remove toStringCallback/valueOfCallback.
      * API/JSCallbackObject.h:
      (JSCallbackObject):
          - Add defaultValue mthods to JSCallbackObject.
      * API/JSCallbackObjectFunctions.h:
      (JSC::::defaultValue):
          - Add defaultValue mthods to JSCallbackObject.
      * API/JSClassRef.cpp:
      (OpaqueJSClass::prototype):
          - Remove toStringCallback/valueOfCallback.
      * API/tests/testapi.js:
          - Revert this test, now we no longer artificially introduce a toString method onto the api object.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0ee621d
  11. 19 Dec, 2011 1 commit
    • ggaren@apple.com's avatar
      Placement new does an unnecessary NULL check · 215589e0
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74676
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore: 
      
      We can define our own version, which skips the NULL check.
              
      Not a measurable speedup, but code inspection shows better code generated,
      and I believe this is a step toward turning off -fomit-frame-pointer.
      
      * API/JSCallbackConstructor.h:
      (JSC::JSCallbackConstructor::create):
      * API/JSCallbackFunction.h:
      (JSC::JSCallbackFunction::create): Use the NotNull version of placement
      new to skip the NULL check.
      
      * API/JSCallbackObject.h: Removed a conflicting, unnecessaray placement new.
      
      (JSC::JSCallbackObject::create):
      * debugger/DebuggerActivation.h:
      (JSC::DebuggerActivation::create):
      * heap/HandleHeap.cpp:
      (JSC::HandleHeap::grow):
      * heap/HandleHeap.h:
      (JSC::HandleHeap::allocate):
      * heap/MarkedBlock.cpp:
      (JSC::MarkedBlock::create):
      (JSC::MarkedBlock::recycle):
      * jit/JITCode.h:
      (JSC::JITCode::clear):
      * jsc.cpp:
      (GlobalObject::create):
      * profiler/CallIdentifier.h:
      * runtime/Arguments.h:
      (JSC::Arguments::create):
      * runtime/ArrayConstructor.h:
      (JSC::ArrayConstructor::create):
      * runtime/ArrayPrototype.h:
      (JSC::ArrayPrototype::create):
      * runtime/BooleanConstructor.h:
      (JSC::BooleanConstructor::create):
      * runtime/BooleanObject.h:
      (JSC::BooleanObject::create):
      * runtime/BooleanPrototype.h:
      (JSC::BooleanPrototype::create):
      * runtime/DateConstructor.h:
      (JSC::DateConstructor::create):
      * runtime/DateInstance.h:
      (JSC::DateInstance::create):
      * runtime/DatePrototype.h:
      (JSC::DatePrototype::create):
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::create):
      * runtime/ErrorConstructor.h:
      (JSC::ErrorConstructor::create):
      * runtime/ErrorInstance.h:
      (JSC::ErrorInstance::create):
      * runtime/ErrorPrototype.h:
      (JSC::ErrorPrototype::create):
      * runtime/ExceptionHelpers.h:
      (JSC::InterruptedExecutionError::create):
      (JSC::TerminatedExecutionError::create):
      * runtime/Executable.h:
      (JSC::NativeExecutable::create):
      (JSC::EvalExecutable::create):
      (JSC::ProgramExecutable::create):
      (JSC::FunctionExecutable::create):
      * runtime/FunctionConstructor.h:
      (JSC::FunctionConstructor::create):
      * runtime/FunctionPrototype.h:
      (JSC::FunctionPrototype::create):
      * runtime/GetterSetter.h:
      (JSC::GetterSetter::create):
      * runtime/JSAPIValueWrapper.h:
      (JSC::JSAPIValueWrapper::create):
      * runtime/JSActivation.h:
      (JSC::JSActivation::create):
      * runtime/JSArray.h:
      (JSC::JSArray::create):
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::create):
      * runtime/JSByteArray.h:
      (JSC::JSByteArray::create): Use the NotNull version of placement
      new to skip the NULL check.
      
      * runtime/JSCell.h: Removed a conflicting, unnecessaray placement new.
      
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::create):
      * runtime/JSFunction.h:
      (JSC::JSFunction::create):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::create):
      * runtime/JSGlobalThis.h:
      (JSC::JSGlobalThis::create):
      * runtime/JSNotAnObject.h:
      (JSC::JSNotAnObject::create):
      * runtime/JSONObject.h:
      (JSC::JSONObject::create):
      * runtime/JSObject.h:
      (JSC::JSFinalObject::create):
      * runtime/JSPropertyNameIterator.cpp:
      (JSC::JSPropertyNameIterator::create):
      * runtime/JSPropertyNameIterator.h:
      (JSC::JSPropertyNameIterator::create):
      * runtime/JSStaticScopeObject.h:
      (JSC::JSStaticScopeObject::create):
      * runtime/JSString.cpp:
      (JSC::StringObject::create):
      * runtime/JSString.h:
      (JSC::RopeBuilder::createNull):
      (JSC::RopeBuilder::create):
      (JSC::RopeBuilder::createHasOtherOwner):
      * runtime/MathObject.h:
      (JSC::MathObject::create):
      * runtime/NativeErrorConstructor.h:
      (JSC::NativeErrorConstructor::create):
      * runtime/NativeErrorPrototype.h:
      (JSC::NativeErrorPrototype::create):
      * runtime/NumberConstructor.h:
      (JSC::NumberConstructor::create):
      * runtime/NumberObject.h:
      (JSC::NumberObject::create):
      * runtime/NumberPrototype.h:
      (JSC::NumberPrototype::create):
      * runtime/ObjectConstructor.h:
      (JSC::ObjectConstructor::create):
      * runtime/ObjectPrototype.h:
      (JSC::ObjectPrototype::create):
      * runtime/RegExp.cpp:
      (JSC::RegExp::createWithoutCaching):
      * runtime/RegExpConstructor.h:
      (JSC::RegExpConstructor::create):
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::create):
      * runtime/RegExpObject.h:
      (JSC::RegExpObject::create):
      * runtime/RegExpPrototype.h:
      (JSC::RegExpPrototype::create):
      * runtime/ScopeChain.h:
      (JSC::ScopeChainNode::create):
      * runtime/StrictEvalActivation.h:
      (JSC::StrictEvalActivation::create):
      * runtime/StringConstructor.h:
      (JSC::StringConstructor::create):
      * runtime/StringObject.h:
      (JSC::StringObject::create):
      * runtime/StringPrototype.h:
      (JSC::StringPrototype::create):
      * runtime/Structure.h:
      (JSC::Structure::create):
      (JSC::Structure::createStructure):
      * runtime/StructureChain.h:
      (JSC::StructureChain::create):
      * testRegExp.cpp:
      (GlobalObject::create):
      * wtf/BitVector.cpp:
      (WTF::BitVector::OutOfLineBits::create): Use the NotNull version of placement
      new to skip the NULL check.
      
      * wtf/BumpPointerAllocator.h:
      (WTF::BumpPointerPool::create): Standardized spacing to make grep easier.
      
      * wtf/ByteArray.cpp:
      (WTF::ByteArray::create):
      * wtf/Deque.h:
      (WTF::::append):
      (WTF::::prepend): Use NotNull, as above.
      
      * wtf/FastAllocBase.h: Added a placement new, since this class would otherwise
      hide the name of the global placement new.
      
      (WTF::fastNew): Standardized spacing. Most of these functions don't need
      NotNull, since they check for NULL, and the optimizer can see that.
      
      * wtf/HashTable.h:
      * wtf/HashTraits.h:
      (WTF::SimpleClassHashTraits::constructDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::allocFreeSpaceNode): NotNull, as above.
      
      * wtf/StdLibExtras.h:
      (throw): This is our NotNull placement new. Declaring that we throw is
      the C++ way to say that operator new will not return NULL.
      
      * wtf/ThreadSpecific.h:
      (WTF::T):
      * wtf/Vector.h:
      (WTF::::append):
      (WTF::::tryAppend):
      (WTF::::uncheckedAppend):
      (WTF::::insert):
      * wtf/text/AtomicStringHash.h:
      * wtf/text/StringImpl.cpp:
      (WTF::StringImpl::createUninitialized):
      (WTF::StringImpl::reallocate):
      * wtf/text/StringImpl.h:
      (WTF::StringImpl::tryCreateUninitialized):
      * wtf/text/StringStatics.cpp:
      (WTF::AtomicString::init): Use NotNull, as above.
      
      * yarr/YarrInterpreter.cpp:
      (JSC::Yarr::Interpreter::allocDisjunctionContext):
      (JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::ParenthesesDisjunctionContext):
      (JSC::Yarr::Interpreter::allocParenthesesDisjunctionContext): Standardized
      spacing for easy grep.
      
      Source/WebCore: 
      
      * bindings/js/JSImageConstructor.h:
      (WebCore::JSImageConstructor::create):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateConstructorDeclaration):
      * bridge/c/CRuntimeObject.h:
      (JSC::Bindings::CRuntimeObject::create):
      * bridge/c/c_instance.cpp:
      (JSC::Bindings::CRuntimeMethod::create):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaRuntimeMethod::create):
      * bridge/jni/jsc/JavaRuntimeObject.h:
      (JSC::Bindings::JavaRuntimeObject::create):
      * bridge/objc/ObjCRuntimeObject.h:
      (JSC::Bindings::ObjCRuntimeObject::create):
      * bridge/objc/objc_instance.mm:
      (ObjCRuntimeMethod::create):
      * bridge/objc/objc_runtime.h:
      (JSC::Bindings::ObjcFallbackObjectImp::create):
      * bridge/runtime_array.h:
      (JSC::RuntimeArray::create):
      * bridge/runtime_method.h:
      (JSC::RuntimeMethod::create):
      * bridge/runtime_object.h:
      (JSC::Bindings::RuntimeObject::create):
      * dom/Document.h:
      (WebCore::FormElementKeyHashTraits::constructDeletedValue): Use NotNull
      placement new, as in JavaScriptCore.
      
      * platform/PODArena.h:
      (WebCore::PODArena::allocateObject): No need to check for NULL explicitly,
      since that's the built-in behavior of placement new.
      
      * platform/graphics/FontCache.cpp:
      (WebCore::FontDataCacheKeyTraits::constructDeletedValue):
      * platform/graphics/IntRectHash.h:
      * platform/graphics/IntSizeHash.h: More NotNull.
      
      * rendering/RenderObject.h: Declaring that we throw is the C++ way to say
      that operator new will not return NULL.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      215589e0
  12. 16 Dec, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize destructors · c58d54d7
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74331
      
      Reviewed by Geoffrey Garen.
      
      .: 
      
      * Source/autotools/symbols.filter: Removed symbol no longer present.
      
      Source/JavaScriptCore: 
      
      This is a megapatch which frees us from the chains of virtual destructors.
      
      In order to remove the virtual destructors, which are the last of the virtual 
      functions, from the JSCell hierarchy, we need to add the ClassInfo pointer to 
      the cell rather than to the structure because in order to be able to lazily call 
      the static destroy() functions that will replace the virtual destructors, we 
      need to be able to access the ClassInfo without the danger of the object's 
      Structure being collected before the object itself.
      
      After adding the ClassInfo to the cell, we can then begin to remove our use 
      of vptrs for optimizations within the JIT and the GC.  When we have removed 
      all of the stored vptrs from JSGlobalData, we can then also remove all of 
      the related VPtrStealingHack code.
      
      The replacement for virtual destructors will be to add a static destroy function 
      pointer to the MethodTable stored in ClassInfo.  Any subclass of JSCell that has 
      a non-trivial destructor will require its own static destroy function to static 
      call its corresponding destructor, which will now be non-virtual.  In future 
      patches we will slowly move away from destructors altogether as we make more and 
      more objects backed by GC memory rather than malloc-ed memory.  The GC will now 
      call the static destroy method rather than the virtual destructor.
      
      As we go through the hierarchy and add static destroy functions to classes, 
      we will also add a new assert, ASSERT_HAS_TRIVIAL_DESTRUCTOR, to those classes 
      to which it applies.  The future goal is to eventually have every class have that assert.
      
      * API/JSCallbackConstructor.cpp:
      (JSC::JSCallbackConstructor::destroy): Add a destroy function to statically call 
      ~JSCallbackConstructor because it has some extra destruction logic.
      * API/JSCallbackConstructor.h:
      * API/JSCallbackFunction.cpp: Add trivial destructor assert for JSCallbackFunction.
      * API/JSCallbackObject.cpp: Add a destroy function to statically call ~JSCallbackObject 
      because it has a member OwnPtr that needs destruction.
      (JSC::::destroy):
      * API/JSCallbackObject.h:
      * JavaScriptCore.exp: Add/remove necessary symbols for JSC.
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Same for Windows symbols.
      * debugger/DebuggerActivation.cpp: DebuggerActivation, for some strange reason, didn't 
      have its own ClassInfo despite the fact that it overrides a number of MethodTable 
      methods.  Added the ClassInfo, along with an assertion that its destructor is trivial.
      * debugger/DebuggerActivation.h:
      * dfg/DFGOperations.cpp: Remove global data first argument to isJSArray, isJSByteArray, 
      isJSString, as it is no longer necessary.
      (JSC::DFG::putByVal):
      * dfg/DFGRepatch.cpp:  Ditto.  Also remove uses of jsArrayVPtr in favor of using the 
      JSArray ClassInfo pointer.
      (JSC::DFG::tryCacheGetByID):
      * dfg/DFGSpeculativeJIT.cpp:  Replace uses of the old vptrs with new ClassInfo 
      comparisons since we don't have vptrs anymore.
      (JSC::DFG::SpeculativeJIT::compilePeepHoleObjectEquality):
      (JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
      (JSC::DFG::SpeculativeJIT::checkArgumentTypes):
      (JSC::DFG::SpeculativeJIT::compilePutByValForByteArray):
      (JSC::DFG::SpeculativeJIT::compileGetTypedArrayLength):
      (JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray):
      (JSC::DFG::SpeculativeJIT::compare):
      (JSC::DFG::SpeculativeJIT::compileStrictEq):
      (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
      * dfg/DFGSpeculativeJIT.h: Ditto.
      (JSC::DFG::SpeculativeJIT::emitAllocateJSFinalObject):
      * dfg/DFGSpeculativeJIT32_64.cpp: Ditto.
      (JSC::DFG::SpeculativeJIT::compileObjectEquality):
      (JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
      (JSC::DFG::SpeculativeJIT::compileLogicalNot):
      (JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
      (JSC::DFG::SpeculativeJIT::emitBranch):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp: Ditto.
      (JSC::DFG::SpeculativeJIT::compileObjectEquality):
      (JSC::DFG::SpeculativeJIT::compileObjectOrOtherLogicalNot):
      (JSC::DFG::SpeculativeJIT::compileLogicalNot):
      (JSC::DFG::SpeculativeJIT::emitObjectOrOtherBranch):
      (JSC::DFG::SpeculativeJIT::emitBranch):
      (JSC::DFG::SpeculativeJIT::compile):
      * heap/Heap.cpp: Remove all uses of vptrs in GC optimizations and replace them with 
      ClassInfo comparisons.
      (JSC::Heap::Heap):
      * heap/MarkStack.cpp: Ditto.
      (JSC::MarkStackThreadSharedData::markingThreadMain):
      (JSC::visitChildren):
      (JSC::SlotVisitor::drain):
      * heap/MarkStack.h: Ditto.
      (JSC::MarkStack::MarkStack):
      * heap/MarkedBlock.cpp: Ditto.
      (JSC::MarkedBlock::callDestructor):
      (JSC::MarkedBlock::specializedSweep):
      * heap/MarkedBlock.h: Ditto.
      * heap/SlotVisitor.h: Ditto.
      (JSC::SlotVisitor::SlotVisitor):
      * heap/VTableSpectrum.cpp: Now that we don't have vptrs, we can't count them.  
      We'll have to rename this class and make it use ClassInfo ptrs in a future patch.
      (JSC::VTableSpectrum::count):
      * interpreter/Interpreter.cpp: Remove all global data arguments from isJSArray, 
      etc. functions.
      (JSC::loadVarargs):
      (JSC::Interpreter::tryCacheGetByID):
      (JSC::Interpreter::privateExecute):
      * jit/JIT.h: Remove vptr argument from emitAllocateBasicJSObject 
      * jit/JITInlineMethods.h: Remove vptr planting, and add ClassInfo planting, 
      remove all vtable related code.
      (JSC::JIT::emitLoadCharacterString):
      (JSC::JIT::emitAllocateBasicJSObject):
      (JSC::JIT::emitAllocateJSFinalObject):
      (JSC::JIT::emitAllocateJSFunction):
      * jit/JITOpcodes.cpp: Replace vptr related branch code with corresponding ClassInfo.
      (JSC::JIT::privateCompileCTIMachineTrampolines):
      (JSC::JIT::emit_op_to_primitive):
      (JSC::JIT::emit_op_convert_this):
      * jit/JITOpcodes32_64.cpp: Ditto.
      (JSC::JIT::privateCompileCTIMachineTrampolines):
      (JSC::JIT::emit_op_to_primitive):
      (JSC::JIT::emitSlow_op_eq):
      (JSC::JIT::emitSlow_op_neq):
      (JSC::JIT::compileOpStrictEq):
      (JSC::JIT::emit_op_convert_this):
      * jit/JITPropertyAccess.cpp: Ditto.
      (JSC::JIT::stringGetByValStubGenerator):
      (JSC::JIT::emit_op_get_by_val):
      (JSC::JIT::emitSlow_op_get_by_val):
      (JSC::JIT::emit_op_put_by_val):
      (JSC::JIT::privateCompilePutByIdTransition):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      * jit/JITPropertyAccess32_64.cpp: Ditto.
      (JSC::JIT::stringGetByValStubGenerator):
      (JSC::JIT::emit_op_get_by_val):
      (JSC::JIT::emitSlow_op_get_by_val):
      (JSC::JIT::emit_op_put_by_val):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      * jit/JITStubs.cpp: Remove global data argument from isJSString, etc.
      (JSC::JITThunks::tryCacheGetByID):
      (JSC::DEFINE_STUB_FUNCTION):
      * jit/SpecializedThunkJIT.h: Replace vptr related stuff with ClassInfo stuff.
      (JSC::SpecializedThunkJIT::loadJSStringArgument):
      * runtime/ArrayConstructor.cpp: Add trivial destructor assert.
      * runtime/ArrayPrototype.cpp: Remove global data argument from isJSArray.
      (JSC::arrayProtoFuncToString):
      (JSC::arrayProtoFuncJoin):
      (JSC::arrayProtoFuncPop):
      (JSC::arrayProtoFuncPush):
      (JSC::arrayProtoFuncShift):
      (JSC::arrayProtoFuncSplice):
      (JSC::arrayProtoFuncUnShift):
      (JSC::arrayProtoFuncFilter):
      (JSC::arrayProtoFuncMap):
      (JSC::arrayProtoFuncEvery):
      (JSC::arrayProtoFuncForEach):
      (JSC::arrayProtoFuncSome):
      (JSC::arrayProtoFuncReduce):
      (JSC::arrayProtoFuncReduceRight):
      * runtime/BooleanConstructor.cpp: Add trivial destructor assert.
      * runtime/BooleanObject.cpp: Ditto.
      * runtime/BooleanPrototype.cpp: Ditto.
      * runtime/ClassInfo.h: Add destroy function pointer to MethodTable.
      * runtime/DateConstructor.cpp: Add trivial destructor assert.
      * runtime/DateInstance.cpp: Add destroy function for DateInstance because it has a RefPtr 
      that needs destruction.
      (JSC::DateInstance::destroy):
      * runtime/DateInstance.h:
      * runtime/Error.cpp: Ditto (because of UString member).
      (JSC::StrictModeTypeErrorFunction::destroy):
      * runtime/Error.h:
      * runtime/ErrorConstructor.cpp: Add trivial destructor assert.
      * runtime/ErrorInstance.cpp: Ditto.
      * runtime/ExceptionHelpers.cpp: Ditto.
      * runtime/Executable.cpp: Add destroy functions for ExecutableBase and subclasses.
      (JSC::ExecutableBase::destroy):
      (JSC::NativeExecutable::destroy):
      (JSC::ScriptExecutable::destroy):
      (JSC::EvalExecutable::destroy):
      (JSC::ProgramExecutable::destroy):
      (JSC::FunctionExecutable::destroy):
      * runtime/Executable.h:
      * runtime/FunctionConstructor.cpp: Add trivial destructor assert.
      * runtime/FunctionPrototype.cpp: Ditto. Also remove global data first arg from isJSArray.
      (JSC::functionProtoFuncApply):
      * runtime/GetterSetter.cpp: Ditto.
      * runtime/InitializeThreading.cpp: Remove call to JSGlobalData::storeVPtrs since it no 
      longer exists.
      (JSC::initializeThreadingOnce):
      * runtime/InternalFunction.cpp: Remove vtableAnchor function, add trivial destructor assert, 
      remove first arg from isJSString.
      (JSC::InternalFunction::displayName):
      * runtime/InternalFunction.h: Remove VPtrStealingHack.
      * runtime/JSAPIValueWrapper.cpp: Add trivial destructor assert.
      * runtime/JSArray.cpp: Add static destroy to call ~JSArray.  Replace vptr checks in 
      destructor with ClassInfo checks.
      (JSC::JSArray::~JSArray):
      (JSC::JSArray::destroy):
      * runtime/JSArray.h: Remove VPtrStealingHack.  Remove globalData argument from isJSArray 
      and change them to check the ClassInfo rather than the vptrs.
      (JSC::isJSArray):
      * runtime/JSBoundFunction.cpp: Add trival destructor assert. Remove first arg from isJSArray.
      (JSC::boundFunctionCall):
      (JSC::boundFunctionConstruct):
      * runtime/JSByteArray.cpp: Add static destroy function, replace vptr checks with ClassInfo checks.
      (JSC::JSByteArray::~JSByteArray):
      (JSC::JSByteArray::destroy):
      * runtime/JSByteArray.h: Remove VPtrStealingHack code.
      (JSC::isJSByteArray):
      * runtime/JSCell.cpp: Add trivial destructor assert.  Add static destroy function.
      (JSC::JSCell::destroy):
      * runtime/JSCell.h: Remove VPtrStealingHack code.  Add function for returning the offset 
      of the ClassInfo pointer in the object for use by the JIT.  Add the ClassInfo pointer to 
      the JSCell itself, and grab it from the Structure.  Remove the vptr and setVPtr functions, 
      as they are no longer used.  Add a validatedClassInfo function to JSCell for any clients 
      that want to verify, while in Debug mode, that the ClassInfo contained in the cell is the 
      same one as that contained in the Structure.  This isn't used too often, because most of 
      the places where we compare the ClassInfo to things can be called during destruction.  
      Since the Structure is unreliable during the phase when destructors are being called, 
      we can't call validatedClassInfo.
      (JSC::JSCell::classInfoOffset):
      (JSC::JSCell::structure):
      (JSC::JSCell::classInfo):
      * runtime/JSFunction.cpp: Remove VPtrStealingHack code.  Add static destroy, remove vtableAnchor, 
      remove first arg from call to isJSString.
      (JSC::JSFunction::destroy):
      (JSC::JSFunction::displayName):
      * runtime/JSFunction.h: 
      * runtime/JSGlobalData.cpp: Remove all VPtr stealing code and storage, including storeVPtrs, 
      as these vptrs are no longer needed in the codebase.
      * runtime/JSGlobalData.h:
      (JSC::TypedArrayDescriptor::TypedArrayDescriptor): Changed the TypedArrayDescriptor to use 
      ClassInfo rather than the vptr.
      * runtime/JSGlobalObject.cpp: Add static destroy function.
      (JSC::JSGlobalObject::destroy):
      * runtime/JSGlobalObject.h:
      * runtime/JSGlobalThis.cpp: Add trivial destructor assert.
      * runtime/JSNotAnObject.cpp: Ditto.
      * runtime/JSONObject.cpp: Ditto. Remove first arg from isJSArray calls.
      (JSC::Stringifier::Holder::appendNextProperty):
      (JSC::Walker::walk):
      * runtime/JSObject.cpp: 
      (JSC::JSFinalObject::destroy):
      (JSC::JSNonFinalObject::destroy):
      (JSC::JSObject::destroy):
      * runtime/JSObject.h: Add trivial destructor assert for JSObject, remove vtableAnchor 
      from JSNonFinalObject and JSFinalObject, add static destroy for JSFinalObject and 
      JSNonFinalObject, add isJSFinalObject utility function similar to isJSArray, remove all VPtrStealingHack code.
      (JSC::JSObject::finishCreation):
      (JSC::JSNonFinalObject::finishCreation):
      (JSC::JSFinalObject::finishCreation):
      (JSC::isJSFinalObject):
      * runtime/JSPropertyNameIterator.cpp: Add static destroy.
      (JSC::JSPropertyNameIterator::destroy):
      * runtime/JSPropertyNameIterator.h:
      * runtime/JSStaticScopeObject.cpp: Ditto.
      (JSC::JSStaticScopeObject::destroy):
      * runtime/JSStaticScopeObject.h: Ditto. 
      * runtime/JSString.cpp:
      (JSC::JSString::destroy):
      * runtime/JSString.h: Ditto. Remove VPtrStealingHack code. Also remove fixupVPtr code, 
      since we no longer need to fixup vptrs.
      (JSC::jsSingleCharacterString):
      (JSC::jsSingleCharacterSubstring):
      (JSC::jsNontrivialString):
      (JSC::jsString):
      (JSC::jsSubstring8):
      (JSC::jsSubstring):
      (JSC::jsOwnedString):
      (JSC::jsStringBuilder):
      (JSC::isJSString):
      * runtime/JSVariableObject.cpp: 
      (JSC::JSVariableObject::destroy):
      * runtime/JSVariableObject.h: Ditto.
      * runtime/JSWrapperObject.cpp:
      * runtime/JSWrapperObject.h: Add trivial destructor assert.
      * runtime/MathObject.cpp: Ditto.
      * runtime/NativeErrorConstructor.cpp: Ditto.
      * runtime/NumberConstructor.cpp: Ditto.
      * runtime/NumberObject.cpp: Ditto.
      * runtime/NumberPrototype.cpp: Ditto.
      * runtime/ObjectConstructor.cpp: Ditto.
      * runtime/ObjectPrototype.cpp: Ditto.
      * runtime/Operations.h: Remove calls to fixupVPtr, remove first arg to isJSString.
      (JSC::jsString):
      (JSC::jsLess):
      (JSC::jsLessEq):
      * runtime/RegExp.cpp: Add static destroy.
      (JSC::RegExp::destroy):
      * runtime/RegExp.h:
      * runtime/RegExpConstructor.cpp: Add static destroy for RegExpConstructor and RegExpMatchesArray.
      (JSC::RegExpConstructor::destroy):
      (JSC::RegExpMatchesArray::destroy):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      * runtime/RegExpObject.cpp: Add static destroy.
      (JSC::RegExpObject::destroy):
      * runtime/RegExpObject.h:
      * runtime/ScopeChain.cpp: Add trivial destructor assert.
      * runtime/ScopeChain.h:
      * runtime/StrictEvalActivation.cpp: Ditto.
      * runtime/StringConstructor.cpp:
      * runtime/StringObject.cpp: Ditto. Remove vtableAnchor.
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp: Ditto.
      * runtime/Structure.cpp: Add static destroy.
      (JSC::Structure::destroy):
      * runtime/Structure.h: Move JSCell::finishCreation and JSCell constructor into Structure.h 
      because they need to have the full Structure type to access the ClassInfo to store in the JSCell.
      (JSC::JSCell::setStructure):
      (JSC::JSCell::validatedClassInfo):
      (JSC::JSCell::JSCell):
      (JSC::JSCell::finishCreation):
      * runtime/StructureChain.cpp: Add static destroy.
      (JSC::StructureChain::destroy):
      * runtime/StructureChain.h:
      * wtf/Assertions.h: Add new assertion ASSERT_HAS_TRIVIAL_DESTRUCTOR, which uses clangs 
      ability to tell us when a class has a trivial destructor. We will use this assert 
      more in future patches as we move toward having all JSC objects backed by GC memory, 
      which means moving away from using destructors/finalizers.
      
      Source/JavaScriptGlue: 
      
      * UserObjectImp.cpp: Add static destroy function.
      (UserObjectImp::destroy):
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Doing everything here that was done to the JSCell hierarchy in JavaScriptCore. 
      See the ChangeLog for this commit for a more in-depth description.
      
      * WebCore.exp.in: Add/remove symbols.
      * bindings/js/JSCanvasRenderingContext2DCustom.cpp: Remove first arg from isJSArray call.
      (WebCore::JSCanvasRenderingContext2D::setWebkitLineDash):
      * bindings/js/JSDOMBinding.cpp: Add trival destructor assert for DOMConstructorObject 
      and DOMConstructorWithDocument.
      * bindings/js/JSDOMGlobalObject.cpp: Add static destroy.  Add implementation for 
      scriptExecutionContext that dispatches to different functions in subclasses 
      depending on our current ClassInfo.  We do this so that we can get rid of the 
      virtual-ness of scriptExecutionContext, because any virtual functions will throw 
      off the layout of the object and we'll crash at runtime.
      (WebCore::JSDOMGlobalObject::destroy):
      (WebCore::JSDOMGlobalObject::scriptExecutionContext):
      * bindings/js/JSDOMGlobalObject.h:
      * bindings/js/JSDOMWindowBase.cpp: Add static destroy.
      (WebCore::JSDOMWindowBase::destroy):
      * bindings/js/JSDOMWindowBase.h: De-virtualize scriptExecutionContext.
      * bindings/js/JSDOMWindowShell.cpp: Add static destroy.
      (WebCore::JSDOMWindowShell::destroy):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSDOMWrapper.cpp: Add trivial destructor assert.
      * bindings/js/JSDOMWrapper.h: Add a ClassInfo to JSDOMWrapper since it now overrides 
      a MethodTable function. Remove vtableAnchor virtual function.
      * bindings/js/JSImageConstructor.cpp: Add trivial destructor assert.
      * bindings/js/JSNodeCustom.cpp: Change implementation of pushEventHandlerScope so that 
      it dispatches to the correct function depending on the 
      identity of the class as specified by the ClassInfo.  
      See JSDOMGlobalObject::scriptExecutionContext for explanation.
      (WebCore::JSNode::pushEventHandlerScope):
      * bindings/js/JSWebSocketCustom.cpp: Remove first arg to isJSArray call.
      (WebCore::JSWebSocketConstructor::constructJSWebSocket):
      * bindings/js/JSWorkerContextBase.cpp: Add static destroy.
      (WebCore::JSWorkerContextBase::destroy):
      * bindings/js/JSWorkerContextBase.h: 
      * bindings/js/ScriptValue.cpp: Remove first arg to isJSArray call.
      (WebCore::jsToInspectorValue): 
      * bindings/js/SerializedScriptValue.cpp: Ditto.
      (WebCore::CloneSerializer::isArray):
      (WebCore::CloneSerializer::getSparseIndex):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader): Remove virtual-ness of any custom pushEventHandlerScope (see 
      JSNodeCustom::pushEventHandlerScope for explanation).  Remove virtual toBoolean 
      for anybody who masquerades as undefined, since our JSObject implementation handles 
      this based on the TypeInfo in the Structure. Add trivial destructor assert for any 
      class other than DOMWindow or WorkerContexts.
      (GenerateImplementation): Change ClassInfo definitions to use Base::s_info, since 
      typing the parent class more than once is duplication of information and increases 
      the likelihood of mistakes.  Pass ClassInfo to TypeArrayDescriptors instead of vptr. 
      (GenerateConstructorDefinition): Add trivial destructor assert for all generated constructors.
      * bridge/c/CRuntimeObject.cpp: Remove empty virtual destructor.
      * bridge/c/CRuntimeObject.h: 
      * bridge/jni/jsc/JavaRuntimeObject.cpp: Ditto.
      * bridge/jni/jsc/JavaRuntimeObject.h: 
      * bridge/objc/ObjCRuntimeObject.h: Ditto.
      * bridge/objc/ObjCRuntimeObject.mm:
      * bridge/objc/objc_runtime.h: Add static destroy for ObjcFallbackObjectImp. De-virtualize 
      toBoolean in the short term.  Need longer term fix.
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::destroy):
      * bridge/qt/qt_runtime.cpp: Add static destroy to QtRuntimeMethod.
      (JSC::Bindings::QtRuntimeMethod::destroy):
      * bridge/qt/qt_runtime.h: De-virtualize ~QtRuntimeMethod.
      * bridge/runtime_array.cpp: De-virtualize destructor. Add static destroy.
      (JSC::RuntimeArray::destroy):
      * bridge/runtime_array.h:
      * bridge/runtime_method.cpp: Remove vtableAnchor. Add static destroy.
      (JSC::RuntimeMethod::destroy):
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp: Add static destroy.
      (JSC::Bindings::RuntimeObject::destroy):
      * bridge/runtime_object.h:
      
      Source/WebKit/mac: 
      
      * Plugins/Hosted/ProxyRuntimeObject.h: Remove empty virtual destructor.
      * Plugins/Hosted/ProxyRuntimeObject.mm:
      
      Source/WebKit2: 
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp: Add trivial destructor assert.
      * WebProcess/Plugins/Netscape/JSNPObject.cpp: Add static destroy.
      (WebKit::JSNPObject::destroy):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      * win/WebKit2.def: Add/remove necessary symbols.
      * win/WebKit2CFLite.def: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c58d54d7
  13. 11 Nov, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      Add jsCast to replace static_cast · 135f0517
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72071
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Added new jsCast and changed all of the static_cast sites in functions that 
      are in the MethodTable to use jsCast instead.
      
      * API/JSCallbackFunction.cpp:
      (JSC::JSCallbackFunction::toStringCallback):
      (JSC::JSCallbackFunction::valueOfCallback):
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObject::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::className):
      (JSC::::getOwnPropertySlot):
      (JSC::::getOwnPropertyDescriptor):
      (JSC::::put):
      (JSC::::deleteProperty):
      (JSC::::deletePropertyByIndex):
      (JSC::::getConstructData):
      (JSC::::hasInstance):
      (JSC::::getCallData):
      (JSC::::getOwnPropertyNames):
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::visitChildren):
      (JSC::DebuggerActivation::className):
      (JSC::DebuggerActivation::getOwnPropertySlot):
      (JSC::DebuggerActivation::put):
      (JSC::DebuggerActivation::putWithAttributes):
      (JSC::DebuggerActivation::deleteProperty):
      (JSC::DebuggerActivation::getOwnPropertyNames):
      (JSC::DebuggerActivation::getOwnPropertyDescriptor):
      (JSC::DebuggerActivation::defineGetter):
      (JSC::DebuggerActivation::defineSetter):
      * runtime/Arguments.cpp:
      (JSC::Arguments::visitChildren):
      (JSC::Arguments::getOwnPropertySlotByIndex):
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::getOwnPropertyNames):
      (JSC::Arguments::putByIndex):
      (JSC::Arguments::put):
      (JSC::Arguments::deletePropertyByIndex):
      (JSC::Arguments::deleteProperty):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getOwnPropertySlot):
      (JSC::ArrayConstructor::getOwnPropertyDescriptor):
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::getOwnPropertySlot):
      (JSC::ArrayPrototype::getOwnPropertyDescriptor):
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::getOwnPropertySlot):
      (JSC::BooleanPrototype::getOwnPropertyDescriptor):
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getOwnPropertySlot):
      (JSC::DateConstructor::getOwnPropertyDescriptor):
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::getOwnPropertySlot):
      (JSC::DatePrototype::getOwnPropertyDescriptor):
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::getOwnPropertySlot):
      (JSC::ErrorPrototype::getOwnPropertyDescriptor):
      * runtime/Executable.cpp:
      (JSC::ExecutableBase::clearCode):
      (JSC::EvalExecutable::visitChildren):
      (JSC::ProgramExecutable::visitChildren):
      (JSC::FunctionExecutable::visitChildren):
      * runtime/GetterSetter.cpp:
      (JSC::GetterSetter::visitChildren):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::visitChildren):
      (JSC::JSActivation::getOwnPropertyNames):
      (JSC::JSActivation::getOwnPropertySlot):
      (JSC::JSActivation::put):
      (JSC::JSActivation::putWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlotByIndex):
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::putByIndex):
      (JSC::JSArray::deleteProperty):
      (JSC::JSArray::deletePropertyByIndex):
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::visitChildren):
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::hasInstance):
      (JSC::JSBoundFunction::visitChildren):
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::getOwnPropertySlot):
      (JSC::JSByteArray::getOwnPropertyDescriptor):
      (JSC::JSByteArray::getOwnPropertySlotByIndex):
      (JSC::JSByteArray::put):
      (JSC::JSByteArray::putByIndex):
      (JSC::JSByteArray::getOwnPropertyNames):
      * runtime/JSCell.h:
      (JSC::JSCell::visitChildren):
      (JSC::jsCast):
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::visitChildren):
      (JSC::JSFunction::getCallData):
      (JSC::JSFunction::getOwnPropertySlot):
      (JSC::JSFunction::getOwnPropertyDescriptor):
      (JSC::JSFunction::getOwnPropertyNames):
      (JSC::JSFunction::put):
      (JSC::JSFunction::deleteProperty):
      (JSC::JSFunction::getConstructData):
      * runtime/JSGlobalData.cpp:
      (JSC::StackPreservingRecompiler::operator()):
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::put):
      (JSC::JSGlobalObject::putWithAttributes):
      (JSC::JSGlobalObject::defineGetter):
      (JSC::JSGlobalObject::defineSetter):
      (JSC::JSGlobalObject::visitChildren):
      (JSC::JSGlobalObject::getOwnPropertySlot):
      (JSC::JSGlobalObject::getOwnPropertyDescriptor):
      (JSC::JSGlobalObject::clearRareData):
      * runtime/JSGlobalThis.cpp:
      (JSC::JSGlobalThis::visitChildren):
      * runtime/JSONObject.cpp:
      (JSC::JSONObject::getOwnPropertySlot):
      (JSC::JSONObject::getOwnPropertyDescriptor):
      * runtime/JSObject.cpp:
      (JSC::JSObject::finalize):
      (JSC::JSObject::visitChildren):
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::put):
      (JSC::JSObject::putByIndex):
      (JSC::JSObject::deleteProperty):
      (JSC::JSObject::deletePropertyByIndex):
      * runtime/JSObject.h:
      (JSC::JSObject::getOwnPropertySlot):
      * runtime/JSPropertyNameIterator.cpp:
      (JSC::JSPropertyNameIterator::visitChildren):
      * runtime/JSStaticScopeObject.cpp:
      (JSC::JSStaticScopeObject::visitChildren):
      (JSC::JSStaticScopeObject::put):
      (JSC::JSStaticScopeObject::putWithAttributes):
      (JSC::JSStaticScopeObject::getOwnPropertySlot):
      * runtime/JSString.cpp:
      (JSC::JSString::visitChildren):
      (JSC::JSString::toThisObject):
      (JSC::JSString::getOwnPropertySlot):
      (JSC::JSString::getOwnPropertySlotByIndex):
      * runtime/JSVariableObject.cpp:
      (JSC::JSVariableObject::deleteProperty):
      (JSC::JSVariableObject::getOwnPropertyNames):
      * runtime/JSWrapperObject.cpp:
      (JSC::JSWrapperObject::visitChildren):
      * runtime/MathObject.cpp:
      (JSC::MathObject::getOwnPropertySlot):
      (JSC::MathObject::getOwnPropertyDescriptor):
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::visitChildren):
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getOwnPropertySlot):
      (JSC::NumberConstructor::getOwnPropertyDescriptor):
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::getOwnPropertySlot):
      (JSC::NumberPrototype::getOwnPropertyDescriptor):
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getOwnPropertySlot):
      (JSC::ObjectConstructor::getOwnPropertyDescriptor):
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::put):
      (JSC::ObjectPrototype::getOwnPropertySlotByIndex):
      (JSC::ObjectPrototype::getOwnPropertySlot):
      (JSC::ObjectPrototype::getOwnPropertyDescriptor):
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getOwnPropertySlot):
      (JSC::RegExpConstructor::getOwnPropertyDescriptor):
      (JSC::RegExpConstructor::put):
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::getOwnPropertySlot):
      (JSC::RegExpMatchesArray::getOwnPropertySlotByIndex):
      (JSC::RegExpMatchesArray::getOwnPropertyDescriptor):
      (JSC::RegExpMatchesArray::put):
      (JSC::RegExpMatchesArray::putByIndex):
      (JSC::RegExpMatchesArray::deleteProperty):
      (JSC::RegExpMatchesArray::deletePropertyByIndex):
      (JSC::RegExpMatchesArray::getOwnPropertyNames):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::visitChildren):
      (JSC::RegExpObject::getOwnPropertySlot):
      (JSC::RegExpObject::getOwnPropertyDescriptor):
      (JSC::RegExpObject::put):
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::getOwnPropertySlot):
      (JSC::RegExpPrototype::getOwnPropertyDescriptor):
      * runtime/ScopeChain.cpp:
      (JSC::ScopeChainNode::visitChildren):
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getOwnPropertySlot):
      (JSC::StringConstructor::getOwnPropertyDescriptor):
      * runtime/StringObject.cpp:
      (JSC::StringObject::getOwnPropertySlot):
      (JSC::StringObject::getOwnPropertySlotByIndex):
      (JSC::StringObject::getOwnPropertyDescriptor):
      (JSC::StringObject::deleteProperty):
      (JSC::StringObject::getOwnPropertyNames):
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::getOwnPropertySlot):
      (JSC::StringPrototype::getOwnPropertyDescriptor):
      * runtime/Structure.cpp:
      (JSC::Structure::visitChildren):
      * runtime/StructureChain.cpp:
      (JSC::StructureChain::visitChildren):
      
      Source/JavaScriptGlue: 
      
      Added new jsCast and changed all of the static_cast sites in functions that 
      are in the MethodTable to use jsCast instead.
      
      * UserObjectImp.cpp:
      (UserObjectImp::getCallData):
      (UserObjectImp::getOwnPropertyNames):
      (UserObjectImp::getOwnPropertySlot):
      (UserObjectImp::put):
      (UserObjectImp::visitChildren):
      
      Source/WebCore: 
      
      No new tests. 
      
      Added new jsCast and changed all of the static_cast sites in functions that 
      are in the MethodTable to use jsCast instead.
      
      * bindings/js/JSAttrCustom.cpp:
      (WebCore::JSAttr::visitChildren):
      * bindings/js/JSAudioContextCustom.cpp:
      (WebCore::JSAudioContext::visitChildren):
      * bindings/js/JSCSSRuleCustom.cpp:
      (WebCore::JSCSSRule::visitChildren):
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      (WebCore::JSCSSStyleDeclaration::visitChildren):
      * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
      (WebCore::toHTMLCanvasStyle):
      * bindings/js/JSCanvasRenderingContextCustom.cpp:
      (WebCore::JSCanvasRenderingContext::visitChildren):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::getOwnPropertyNames):
      (WebCore::JSDOMStringMap::deleteProperty):
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::toThisObject):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::visitChildren):
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      (WebCore::JSDOMWindow::put):
      (WebCore::JSDOMWindow::deleteProperty):
      (WebCore::JSDOMWindow::getPropertyNames):
      (WebCore::JSDOMWindow::getOwnPropertyNames):
      (WebCore::JSDOMWindow::defineGetter):
      (WebCore::JSDOMWindow::defineSetter):
      (WebCore::JSDOMWindow::defineOwnProperty):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::className):
      (WebCore::JSDOMWindowShell::getOwnPropertySlot):
      (WebCore::JSDOMWindowShell::getOwnPropertyDescriptor):
      (WebCore::JSDOMWindowShell::put):
      (WebCore::JSDOMWindowShell::putWithAttributes):
      (WebCore::JSDOMWindowShell::defineOwnProperty):
      (WebCore::JSDOMWindowShell::deleteProperty):
      (WebCore::JSDOMWindowShell::getPropertyNames):
      (WebCore::JSDOMWindowShell::getOwnPropertyNames):
      (WebCore::JSDOMWindowShell::defineGetter):
      (WebCore::JSDOMWindowShell::defineSetter):
      * bindings/js/JSHTMLAppletElementCustom.cpp:
      (WebCore::JSHTMLAppletElement::getCallData):
      * bindings/js/JSHTMLEmbedElementCustom.cpp:
      (WebCore::JSHTMLEmbedElement::getCallData):
      * bindings/js/JSHTMLObjectElementCustom.cpp:
      (WebCore::JSHTMLObjectElement::getCallData):
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::deleteProperty):
      (WebCore::JSHistory::getOwnPropertyNames):
      * bindings/js/JSJavaScriptAudioNodeCustom.cpp:
      (WebCore::JSJavaScriptAudioNode::visitChildren):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::deleteProperty):
      (WebCore::JSLocation::getOwnPropertyNames):
      * bindings/js/JSMessageChannelCustom.cpp:
      (WebCore::JSMessageChannel::visitChildren):
      * bindings/js/JSMessagePortCustom.cpp:
      (WebCore::JSMessagePort::visitChildren):
      * bindings/js/JSNamedNodeMapCustom.cpp:
      (WebCore::JSNamedNodeMap::visitChildren):
      * bindings/js/JSNodeCustom.cpp:
      (WebCore::JSNode::visitChildren):
      * bindings/js/JSNodeFilterCustom.cpp:
      (WebCore::JSNodeFilter::visitChildren):
      * bindings/js/JSNodeIteratorCustom.cpp:
      (WebCore::JSNodeIterator::visitChildren):
      * bindings/js/JSSVGElementInstanceCustom.cpp:
      (WebCore::JSSVGElementInstance::visitChildren):
      * bindings/js/JSSharedWorkerCustom.cpp:
      (WebCore::JSSharedWorker::visitChildren):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::deleteProperty):
      (WebCore::JSStorage::getOwnPropertyNames):
      * bindings/js/JSStyleSheetCustom.cpp:
      (WebCore::JSStyleSheet::visitChildren):
      * bindings/js/JSTreeWalkerCustom.cpp:
      (WebCore::JSTreeWalker::visitChildren):
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      (WebCore::JSWebGLRenderingContext::visitChildren):
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::visitChildren):
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::visitChildren):
      * bindings/js/JSXPathResultCustom.cpp:
      (WebCore::JSXPathResult::visitChildren):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterface::getOwnPropertySlot):
      (WebCore::JSTestInterface::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
      (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertySlot):
      (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertyDescriptor):
      (WebCore::JSTestMediaQueryListListener::getOwnPropertySlot):
      (WebCore::JSTestMediaQueryListListener::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
      (WebCore::JSTestNamedConstructor::getOwnPropertySlot):
      (WebCore::JSTestNamedConstructor::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObjPrototype::getOwnPropertySlot):
      (WebCore::JSTestObjPrototype::getOwnPropertyDescriptor):
      (WebCore::JSTestObj::getOwnPropertySlot):
      (WebCore::JSTestObj::getOwnPropertyDescriptor):
      (WebCore::JSTestObj::put):
      (WebCore::JSTestObj::visitChildren):
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
      (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot):
      (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor):
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::getCallData):
      (JSC::Bindings::ObjcFallbackObjectImp::defaultValue):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::QtRuntimeObject::visitChildren):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::visitChildren):
      (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertySlot):
      (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertyDescriptor):
      (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertySlot):
      (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertyDescriptor):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertyNames):
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::getOwnPropertySlotByIndex):
      (JSC::RuntimeArray::put):
      (JSC::RuntimeArray::putByIndex):
      * bridge/runtime_method.cpp:
      (JSC::RuntimeMethod::getOwnPropertySlot):
      (JSC::RuntimeMethod::getOwnPropertyDescriptor):
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getOwnPropertySlot):
      (JSC::Bindings::RuntimeObject::getOwnPropertyDescriptor):
      (JSC::Bindings::RuntimeObject::put):
      (JSC::Bindings::RuntimeObject::defaultValue):
      (JSC::Bindings::RuntimeObject::getCallData):
      (JSC::Bindings::RuntimeObject::getConstructData):
      (JSC::Bindings::RuntimeObject::getOwnPropertyNames):
      
      Source/WebKit2: 
      
      Added new jsCast and changed all of the static_cast sites in functions that 
      are in the MethodTable to use jsCast instead.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getCallData):
      (WebKit::JSNPObject::getConstructData):
      (WebKit::JSNPObject::getOwnPropertySlot):
      (WebKit::JSNPObject::getOwnPropertyDescriptor):
      (WebKit::JSNPObject::put):
      (WebKit::JSNPObject::deleteProperty):
      (WebKit::JSNPObject::deletePropertyByIndex):
      (WebKit::JSNPObject::getOwnPropertyNames):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      135f0517
  14. 09 Nov, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize JSObject::getOwnPropertyDescriptor · 7f2f7e53
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71523
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore: 
      
      Added getOwnPropertyDescriptor to the MethodTable, changed all of the 
      virtual versions of getOwnPropertyDescriptor to static ones, and 
      changed all of the call sites to the corresponding lookup in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyDescriptor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::getOwnPropertyDescriptor):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertyDescriptor):
      * runtime/Arguments.h:
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getOwnPropertyDescriptor):
      * runtime/ArrayConstructor.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::getOwnPropertyDescriptor):
      * runtime/ArrayPrototype.h:
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::getOwnPropertyDescriptor):
      * runtime/BooleanPrototype.h:
      * runtime/ClassInfo.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getOwnPropertyDescriptor):
      * runtime/DateConstructor.h:
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::getOwnPropertyDescriptor):
      * runtime/DatePrototype.h:
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::getOwnPropertyDescriptor):
      * runtime/ErrorPrototype.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertyDescriptor):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::getOwnPropertyDescriptor):
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getOwnPropertyDescriptor):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getOwnPropertyDescriptor):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::getOwnPropertyDescriptor):
      * runtime/JSGlobalObject.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::getOwnPropertyDescriptor):
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::JSONObject::getOwnPropertyDescriptor):
      * runtime/JSONObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::vtableAnchor):
      (JSC::JSObject::propertyIsEnumerable):
      (JSC::JSObject::getOwnPropertyDescriptor):
      (JSC::JSObject::getPropertyDescriptor):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      * runtime/JSString.cpp: Removed getOwnPropertyDescriptor, since this seems to be a relic from a 
      bygone era when getOwnPropertyDescriptor was rooted in JSCell rather than JSObject.  There were 
      no call sites for this version of getOwnPropertyDescriptor in the entire project.
      * runtime/JSString.h:
      * runtime/Lookup.h:
      (JSC::getStaticPropertyDescriptor):
      (JSC::getStaticFunctionDescriptor):
      (JSC::getStaticValueDescriptor):
      * runtime/MathObject.cpp:
      (JSC::MathObject::getOwnPropertyDescriptor):
      * runtime/MathObject.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getOwnPropertyDescriptor):
      * runtime/NumberConstructor.h:
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::getOwnPropertyDescriptor):
      * runtime/NumberPrototype.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getOwnPropertyDescriptor):
      (JSC::objectConstructorGetOwnPropertyDescriptor):
      * runtime/ObjectConstructor.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::getOwnPropertyDescriptor):
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getOwnPropertyDescriptor):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::getOwnPropertyDescriptor):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::getOwnPropertyDescriptor):
      * runtime/RegExpObject.h:
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::getOwnPropertyDescriptor):
      * runtime/RegExpPrototype.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getOwnPropertyDescriptor):
      * runtime/StringConstructor.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::vtableAnchor): Added to prevent a weak vtable.
      (JSC::StringObject::getOwnPropertyDescriptor):
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::getOwnPropertyDescriptor):
      * runtime/StringPrototype.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Added getOwnPropertyDescriptor to the MethodTable, changed all of the 
      virtual versions of getOwnPropertyDescriptor to static ones, and 
      changed all of the call sites to the corresponding lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertyDescriptor):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::getOwnPropertyDescriptorDelegate):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertyDescriptorBody):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterfaceConstructor::getOwnPropertyDescriptor):
      (WebCore::JSTestInterface::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestInterface.h:
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
      (WebCore::JSTestMediaQueryListListenerConstructor::getOwnPropertyDescriptor):
      (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertyDescriptor):
      (WebCore::JSTestMediaQueryListListener::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObjConstructor::getOwnPropertyDescriptor):
      (WebCore::JSTestObjPrototype::getOwnPropertyDescriptor):
      (WebCore::JSTestObj::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestObj.h:
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
      (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertyDescriptor):
      (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertyDescriptor):
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::getOwnPropertyDescriptor):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertyDescriptor):
      (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertyDescriptor):
      * bridge/qt/qt_runtime.h:
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      * bridge/runtime_array.h:
      * bridge/runtime_method.cpp:
      (JSC::RuntimeMethod::vtableAnchor): Added to prevent a weak vtable.
      (JSC::RuntimeMethod::getOwnPropertyDescriptor):
      * bridge/runtime_method.h: Changed getOwnPropertyDescriptor from private to protected to allow 
      subclasses to use it in their MethodTables.
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getOwnPropertyDescriptor):
      * bridge/runtime_object.h:
      
      Source/WebKit2: 
      
      Added getOwnPropertyDescriptor to the MethodTable, changed all of the 
      virtual versions of getOwnPropertyDescriptor to static ones, and 
      changed all of the call sites to the corresponding lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getOwnPropertyDescriptor):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f2f7e53
  15. 04 Nov, 2011 2 commits
    • mhahnenberg@apple.com's avatar
      De-virtualize JSObject::hasInstance · 069ad172
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71430
      
      Reviewed by Darin Adler.
      
      Added hasInstance to the MethodTable, changed all the virtual
      implementations of hasInstance to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::hasInstance):
      * API/JSValueRef.cpp:
      (JSValueIsInstanceOfConstructor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ClassInfo.h:
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::hasInstance):
      * runtime/JSBoundFunction.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::hasInstance):
      * runtime/JSCell.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::hasInstance):
      * runtime/JSObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      069ad172
    • ossy@webkit.org's avatar
      De-virtualize JSObject::hasInstance · 2a9dcb60
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71430
      
      Unreviewed rolling out r99238, because it made a test crash on all platform.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::hasInstance):
      * API/JSValueRef.cpp:
      (JSValueIsInstanceOfConstructor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ClassInfo.h:
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::hasInstance):
      * runtime/JSBoundFunction.h:
      * runtime/JSCell.cpp:
      * runtime/JSCell.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::hasInstance):
      * runtime/JSObject.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a9dcb60
  16. 03 Nov, 2011 2 commits
    • mhahnenberg@apple.com's avatar
      De-virtualize JSObject::hasInstance · c583a808
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71430
      
      Reviewed by Darin Adler.
      
      Added hasInstance to the MethodTable, changed all the virtual
      implementations of hasInstance to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::hasInstance):
      * API/JSValueRef.cpp:
      (JSValueIsInstanceOfConstructor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ClassInfo.h:
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::hasInstance):
      * runtime/JSBoundFunction.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::hasInstance):
      * runtime/JSCell.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::hasInstance):
      * runtime/JSObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c583a808
    • mhahnenberg@apple.com's avatar
      De-virtualize JSObject::className · b039de03
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71428
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore:
      
      Added className to the MethodTable, changed all the virtual
      implementations of className to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::className):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::className):
      * debugger/DebuggerActivation.h:
      * jsc.cpp:
      (GlobalObject::createStructure):
      * profiler/Profiler.cpp:
      (JSC::Profiler::createCallIdentifier):
      * runtime/ClassInfo.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::className):
      * runtime/JSCell.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::className):
      * runtime/JSObject.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::objectProtoFuncToString):
      * testRegExp.cpp:
      (GlobalObject::createStructure):
      
      Source/JavaScriptGlue:
      
      Added className to the MethodTable, changed all the virtual
      implementations of className to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * JSUtils.cpp:
      (KJSValueToCFTypeInternal):
      
      Source/WebCore:
      
      No new tests.
      
      Added className to the MethodTable, changed all the virtual
      implementations of className to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::className):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      (WebCore::JSInjectedScriptHost::internalConstructorName):
      * bridge/testqtbindings.cpp:
      (Global::className):
      
      Source/WebKit/efl:
      
      Added className to the MethodTable, changed all the virtual
      implementations of className to static ones, and replaced
      all call sites with corresponding lookups in the MethodTable.
      
      * ewk/ewk_js.cpp:
      (ewk_js_npobject_to_object):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b039de03
  17. 02 Nov, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize JSObject::getOwnPropertyNames · 5726238d
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71307
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore: 
      
      Added getOwnPropertyNames to the MethodTable, changed all the virtual 
      implementations of getOwnPropertyNames to static ones, and replaced 
      all call sites with corresponding lookups in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyNames):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::getOwnPropertyNames):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertyNames):
      * runtime/Arguments.h:
      * runtime/ClassInfo.h:
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertyNames):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertyNames):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::getOwnPropertyNames):
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getOwnPropertyNames):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getOwnPropertyNames):
      * runtime/JSFunction.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::getOwnPropertyNames):
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Holder::appendNextProperty):
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC::JSObject::getPropertyNames):
      (JSC::JSObject::getOwnPropertyNames):
      * runtime/JSObject.h:
      * runtime/JSVariableObject.cpp:
      (JSC::JSVariableObject::~JSVariableObject):
      (JSC::JSVariableObject::getOwnPropertyNames):
      * runtime/JSVariableObject.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::objectConstructorGetOwnPropertyNames):
      (JSC::objectConstructorKeys):
      (JSC::defineProperties):
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::getOwnPropertyNames):
      * runtime/StringObject.cpp:
      (JSC::StringObject::getOwnPropertyNames):
      * runtime/StringObject.h:
      * runtime/Structure.h:
      
      Source/JavaScriptGlue: 
      
      Added getOwnPropertyNames to the MethodTable, changed all the virtual 
      implementations of getOwnPropertyNames to static ones, and replaced 
      all call sites with corresponding lookups in the MethodTable.
      
      * UserObjectImp.cpp:
      (UserObjectImp::getOwnPropertyNames):
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Added getOwnPropertyNames to the MethodTable, changed all the virtual 
      implementations of getOwnPropertyNames to static ones, and replaced 
      all call sites with corresponding lookups in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::getOwnPropertyNames):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertyNames):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertyNames):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::getOwnPropertyNames):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::getOwnPropertyNames):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::getOwnPropertyNames):
      * bindings/js/ScriptValue.cpp:
      (WebCore::jsToInspectorValue):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::serialize):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertyNames):
      (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertyNames):
      * bridge/qt/qt_runtime.h:
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertyNames):
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getOwnPropertyNames):
      * bridge/runtime_object.h:
      
      Source/WebKit2: 
      
      Added getOwnPropertyNames to the MethodTable, changed all the virtual 
      implementations of getOwnPropertyNames to static ones, and replaced 
      all call sites with corresponding lookups in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getOwnPropertyNames):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5726238d
  18. 28 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize isGlobalObject, isVariableObject, isActivationObject, and isErrorInstance in JSObject · ebc08a81
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70968
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackObject.cpp: Added two specializations for createStructure that use different JSTypes in their
      TypeInfo.  Had to also create a specialization for JSNonFinalObject, even JSGlobalObject was the only that 
      needed it because Windows wouldn't build without it.
      (JSC::::createStructure):
      * API/JSCallbackObject.h:
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * runtime/ErrorInstance.h: Removed virtual function and changed JSType provided to TypeInfo in createStructure. 
      (JSC::ErrorInstance::createStructure):
      * runtime/ErrorPrototype.h: Ditto
      (JSC::ErrorPrototype::createStructure):
      * runtime/JSActivation.h: Ditto
      (JSC::JSActivation::createStructure):
      * runtime/JSGlobalObject.h: Ditto
      (JSC::JSGlobalObject::createStructure):
      * runtime/JSObject.h: De-virtualized functions.  They now check the JSType of the object for the corresponding type.
      (JSC::JSObject::isGlobalObject):
      (JSC::JSObject::isVariableObject):
      (JSC::JSObject::isActivationObject):
      (JSC::JSObject::isErrorInstance):
      * runtime/JSType.h: Added new types for GlobalObject, VariableObject, ActivationObject, and ErrorInstance.
      * runtime/JSVariableObject.cpp: Removed virtual function.
      * runtime/JSVariableObject.h: Changed JSType provided to TypeInfo in createStructure.
      (JSC::JSVariableObject::createStructure):
      
      Source/WebCore: 
      
      No new tests.
      
      * bindings/js/JSDOMGlobalObject.h: Changed JSType provided to TypeInfo in createStructure since this 
      class inherits from JSGlobalObject. 
      (WebCore::JSDOMGlobalObject::createStructure):
      * bindings/js/JSDOMWindowBase.h: Ditto
      (WebCore::JSDOMWindowBase::createStructure):
      * bindings/js/JSWorkerContextBase.h: Ditto
      (WebCore::JSWorkerContextBase::createStructure):
      * bindings/scripts/CodeGeneratorJS.pm: Added extra check to make sure subclasses of JSGlobalObject,
      namely JSDOMWindow and JSWorkerContext, get their special JSType in their createStructure function.
      (GenerateHeader):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebc08a81
  19. 26 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      Remove getOwnPropertySlotVirtual · 5c103b05
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70741
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Removed all declarations and definitions of getOwnPropertySlotVirtual.
      Also replaced all call sites to getOwnPropertyVirtualVirtual with a 
      corresponding lookup in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertyDescriptor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::getOwnPropertySlot):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      * runtime/Arguments.h:
      * runtime/ArrayConstructor.cpp:
      * runtime/ArrayConstructor.h:
      * runtime/ArrayPrototype.cpp:
      * runtime/ArrayPrototype.h:
      * runtime/BooleanPrototype.cpp:
      * runtime/BooleanPrototype.h:
      * runtime/DateConstructor.cpp:
      * runtime/DateConstructor.h:
      * runtime/DatePrototype.cpp:
      * runtime/DatePrototype.h:
      (JSC::DatePrototype::create):
      * runtime/ErrorPrototype.cpp:
      * runtime/ErrorPrototype.h:
      * runtime/JSActivation.cpp:
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlotByIndex):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getOwnPropertyDescriptor):
      (JSC::JSFunction::getOwnPropertyNames):
      (JSC::JSFunction::put):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      * runtime/JSGlobalObject.h:
      * runtime/JSNotAnObject.cpp:
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Holder::appendNextProperty):
      (JSC::Walker::walk):
      * runtime/JSONObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::hasOwnProperty):
      * runtime/JSObject.h:
      (JSC::JSCell::fastGetOwnPropertySlot):
      (JSC::JSObject::getPropertySlot):
      (JSC::JSValue::get):
      * runtime/JSStaticScopeObject.cpp:
      * runtime/JSStaticScopeObject.h:
      * runtime/JSString.cpp:
      (JSC::JSString::getOwnPropertySlot):
      * runtime/JSString.h:
      * runtime/MathObject.cpp:
      * runtime/MathObject.h:
      (JSC::MathObject::create):
      * runtime/NumberConstructor.cpp:
      * runtime/NumberConstructor.h:
      * runtime/NumberPrototype.cpp:
      * runtime/NumberPrototype.h:
      * runtime/ObjectConstructor.cpp:
      * runtime/ObjectConstructor.h:
      * runtime/ObjectPrototype.cpp:
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::createStructure):
      * runtime/RegExpObject.cpp:
      * runtime/RegExpObject.h:
      * runtime/RegExpPrototype.cpp:
      * runtime/RegExpPrototype.h:
      * runtime/StringConstructor.cpp:
      * runtime/StringConstructor.h:
      * runtime/StringObject.cpp:
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp:
      * runtime/StringPrototype.h:
      
      Source/JavaScriptGlue: 
      
      Removed all declarations and definitions of getOwnPropertySlotVirtual.
      Also replaced all call sites to getOwnPropertyVirtualVirtual with a 
      corresponding lookup in the MethodTable.
      
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Removed all declarations and definitions of getOwnPropertySlotVirtual.
      Also replaced all call sites to getOwnPropertyVirtualVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::DialogHandler::returnValue):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertySlot):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::getSparseIndex):
      (WebCore::CloneSerializer::getProperty):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      * bridge/qt/qt_runtime.cpp:
      * bridge/qt/qt_runtime.h:
      * bridge/runtime_array.cpp:
      * bridge/runtime_array.h:
      * bridge/runtime_method.cpp:
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      
      Source/WebKit2: 
      
      Removed all declarations and definitions of getOwnPropertySlotVirtual.
      Also replaced all call sites to getOwnPropertyVirtualVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c103b05
  20. 25 Oct, 2011 2 commits
    • mhahnenberg@apple.com's avatar
      Remove deletePropertyVirtual · c0f87c17
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70738
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Removed all declarations and definitions of deletePropertyVirtual.
      Also replaced all call sites to deletePropertyVirtual with a 
      corresponding lookup in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::deletePropertyByIndex):
      * API/JSObjectRef.cpp:
      (JSObjectDeleteProperty):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::deleteProperty):
      * debugger/DebuggerActivation.h:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/Arguments.cpp:
      * runtime/Arguments.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::arrayProtoFuncPop):
      (JSC::arrayProtoFuncReverse):
      (JSC::arrayProtoFuncShift):
      (JSC::arrayProtoFuncSplice):
      (JSC::arrayProtoFuncUnShift):
      * runtime/JSActivation.cpp:
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::deleteProperty):
      (JSC::JSArray::deletePropertyByIndex):
      * runtime/JSArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::deleteProperty):
      (JSC::JSCell::deletePropertyByIndex):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      * runtime/JSNotAnObject.cpp:
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC::JSObject::deletePropertyByIndex):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      * runtime/JSVariableObject.cpp:
      * runtime/JSVariableObject.h:
      * runtime/RegExpMatchesArray.h:
      * runtime/StrictEvalActivation.cpp:
      * runtime/StrictEvalActivation.h:
      * runtime/StringObject.cpp:
      * runtime/StringObject.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Removed all declarations and definitions of deletePropertyVirtual.
      Also replaced all call sites to deletePropertyVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::deleteProperty):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::deleteProperty):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::deleteProperty):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::deleteProperty):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::deleteProperty):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::deleteProperty):
      * bindings/js/ScriptObject.cpp:
      (WebCore::ScriptGlobalObject::remove):
      * bindings/objc/WebScriptObject.mm:
      (-[WebScriptObject removeWebScriptKey:]):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/NP_jsobject.cpp:
      (_NPN_RemoveProperty):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::removeMember):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      * bridge/runtime_array.cpp:
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      
      Source/WebKit/mac: 
      
      Removed all declarations and definitions of deletePropertyVirtual.
      Also replaced all call sites to deletePropertyVirtual with a 
      corresponding lookup in the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::removeProperty):
      
      Source/WebKit2: 
      
      Removed all declarations and definitions of deletePropertyVirtual.
      Also replaced all call sites to deletePropertyVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      * WebProcess/Plugins/Netscape/NPJSObject.cpp:
      (WebKit::NPJSObject::removeProperty):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0f87c17
    • mhahnenberg@apple.com's avatar
      Remove putVirtual · 39512785
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70740
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * API/JSObjectRef.cpp:
      (JSObjectSetProperty):
      (JSObjectSetPropertyAtIndex):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::put):
      * debugger/DebuggerActivation.h:
      * dfg/DFGOperations.cpp:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::execute):
      (JSC::Interpreter::privateExecute):
      * jsc.cpp:
      (GlobalObject::finishCreation):
      * runtime/Arguments.cpp:
      * runtime/Arguments.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::putProperty):
      (JSC::arrayProtoFuncConcat):
      (JSC::arrayProtoFuncPush):
      (JSC::arrayProtoFuncReverse):
      (JSC::arrayProtoFuncShift):
      (JSC::arrayProtoFuncSlice):
      (JSC::arrayProtoFuncSort):
      (JSC::arrayProtoFuncSplice):
      (JSC::arrayProtoFuncUnShift):
      (JSC::arrayProtoFuncFilter):
      (JSC::arrayProtoFuncMap):
      * runtime/JSActivation.cpp:
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::putSlowCase):
      (JSC::JSArray::push):
      (JSC::JSArray::shiftCount):
      (JSC::JSArray::unshiftCount):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::put):
      (JSC::JSCell::putByIndex):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      * runtime/JSGlobalObject.h:
      * runtime/JSNotAnObject.cpp:
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC::JSObject::putByIndex):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      (JSC::JSValue::put):
      * runtime/JSStaticScopeObject.cpp:
      * runtime/JSStaticScopeObject.h:
      * runtime/ObjectPrototype.cpp:
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      * runtime/RegExpObject.cpp:
      * runtime/RegExpObject.h:
      * runtime/StringObject.cpp:
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp:
      (JSC::stringProtoFuncSplit):
      
      Source/JavaScriptGlue:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * JSValueWrapper.cpp:
      (JSValueWrapper::JSObjectSetProperty):
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      Source/WebCore:
      
      No new tests.
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMWindowCustom.cpp:
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::put):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectCustomPut):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneDeserializer::putProperty):
      * bindings/objc/WebScriptObject.mm:
      (-[WebScriptObject setValue:forKey:]):
      (-[WebScriptObject setWebScriptValueAtIndex:value:]):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bridge/NP_jsobject.cpp:
      (_NPN_SetProperty):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::setMember):
      (JavaJSObject::setSlot):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::convertQVariantToValue):
      * bridge/runtime_array.cpp:
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      * bridge/testqtbindings.cpp:
      (main):
      
      Source/WebKit/efl:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * ewk/ewk_view.cpp:
      (ewk_view_js_object_add):
      
      Source/WebKit/mac:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::setProperty):
      
      Source/WebKit/qt:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * Api/qwebframe.cpp:
      (QWebFrame::addToJavaScriptWindowObject):
      
      Source/WebKit2:
      
      Removed all declarations and definitions of putVirtual.
      Also replaced all call sites to putVirtual with a
      corresponding lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      * WebProcess/Plugins/Netscape/NPJSObject.cpp:
      (WebKit::NPJSObject::setProperty):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39512785
  21. 23 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      Remove getConstructDataVirtual · 99f1bca0
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70638
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore: 
      
      Removed all declarations and definitions of getConstructDataVirtual.
      Also replaced all call sites to getConstructDataVirtual with a 
      corresponding lookup in the MethodTable.
      
      * API/JSCallbackConstructor.cpp:
      * API/JSCallbackConstructor.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * API/JSObjectRef.cpp:
      (JSObjectIsConstructor):
      (JSObjectCallAsConstructor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * dfg/DFGOperations.cpp:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ArrayConstructor.cpp:
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      * runtime/DateConstructor.h:
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::getConstructData):
      * runtime/ErrorConstructor.cpp:
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      * runtime/FunctionConstructor.h:
      * runtime/JSCell.cpp:
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      * runtime/JSObject.h:
      (JSC::getConstructData):
      * runtime/NativeErrorConstructor.cpp:
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      * runtime/ObjectConstructor.h:
      * runtime/RegExpConstructor.cpp:
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      * runtime/StringConstructor.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Removed all declarations and definitions of getConstructDataVirtual.
      Also replaced all call sites to getConstructDataVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSAudioConstructor.cpp:
      * bindings/js/JSAudioConstructor.h:
      * bindings/js/JSImageConstructor.cpp:
      * bindings/js/JSImageConstructor.h:
      * bindings/js/JSOptionConstructor.cpp:
      * bindings/js/JSOptionConstructor.h:
      * bindings/js/ScriptFunctionCall.cpp:
      (WebCore::ScriptFunctionCall::construct):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      
      Source/WebKit/mac: 
      
      Removed all declarations and definitions of getConstructDataVirtual.
      Also replaced all call sites to getConstructDataVirtual with a 
      corresponding lookup in the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::construct):
      
      Source/WebKit2: 
      
      Removed all declarations and definitions of getConstructDataVirtual.
      Also replaced all call sites to getConstructDataVirtual with a 
      corresponding lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99f1bca0
  22. 20 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      Rename static deleteProperty to deletePropertyByIndex · 8a10db98
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70257
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Renaming versions of deleteProperty that use an unsigned as the property
      name to "deletePropertyByIndex" in preparation for adding them to the 
      MethodTable, which requires unique names for each method.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::deletePropertyVirtual):
      (JSC::::deletePropertyByIndex):
      * runtime/Arguments.cpp:
      (JSC::Arguments::deletePropertyVirtual):
      (JSC::Arguments::deletePropertyByIndex):
      * runtime/Arguments.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::deletePropertyVirtual):
      (JSC::JSArray::deletePropertyByIndex):
      * runtime/JSArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::deletePropertyVirtual):
      (JSC::JSCell::deletePropertyByIndex):
      * runtime/JSCell.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::deletePropertyVirtual):
      (JSC::JSNotAnObject::deletePropertyByIndex):
      * runtime/JSNotAnObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::deletePropertyVirtual):
      (JSC::JSObject::deletePropertyByIndex):
      * runtime/JSObject.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::deletePropertyVirtual):
      (JSC::RegExpMatchesArray::deletePropertyByIndex):
      
      Source/WebCore: 
      
      No new tests.
      
      Renaming versions of deleteProperty that use an unsigned as the property
      name to "deletePropertyByIndex" in preparation for adding them to the 
      MethodTable, which requires unique names for each method.
      
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::deletePropertyVirtual):
      (JSC::RuntimeArray::deletePropertyByIndex):
      * bridge/runtime_array.h:
      
      Source/WebKit2: 
      
      Renaming versions of deleteProperty that use an unsigned as the property
      name to "deletePropertyByIndex" in preparation for adding them to the 
      MethodTable, which requires unique names for each method.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::deletePropertyVirtual):
      (WebKit::JSNPObject::deletePropertyByIndex):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a10db98
  23. 14 Oct, 2011 3 commits
    • mhahnenberg@apple.com's avatar
      Rename getOwnPropertySlot to getOwnPropertySlotVirtual · f0418c85
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69810
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Renamed the virtual version of getOwnPropertySlot to getOwnPropertySlotVirtual
      in preparation for when we add the static getOwnPropertySlot to the MethodTable 
      in ClassInfo.
      
      Also added a few static getOwnPropertySlot functions where they had been overlooked 
      before (especially in CodeGeneratorJS.pm).
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnPropertySlotVirtual):
      (JSC::::getOwnPropertySlot):
      (JSC::::getOwnPropertyDescriptor):
      (JSC::::staticFunctionGetter):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::getOwnPropertySlotVirtual):
      (JSC::DebuggerActivation::getOwnPropertySlot):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlotVirtual):
      (JSC::Arguments::getOwnPropertySlot):
      * runtime/Arguments.h:
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getOwnPropertySlotVirtual):
      (JSC::ArrayConstructor::getOwnPropertySlot):
      * runtime/ArrayConstructor.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::getOwnPropertySlotVirtual):
      * runtime/ArrayPrototype.h:
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::getOwnPropertySlotVirtual):
      * runtime/BooleanPrototype.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getOwnPropertySlotVirtual):
      * runtime/DateConstructor.h:
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::getOwnPropertySlotVirtual):
      * runtime/DatePrototype.h:
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::getOwnPropertySlotVirtual):
      * runtime/ErrorPrototype.h:
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnPropertySlotVirtual):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlotVirtual):
      (JSC::JSArray::getOwnPropertySlot):
      * runtime/JSArray.h:
      * runtime/JSBoundFunction.cpp:
      (JSC::JSBoundFunction::getOwnPropertySlotVirtual):
      * runtime/JSBoundFunction.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::getOwnPropertySlotVirtual):
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getOwnPropertySlotVirtual):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getOwnPropertySlotVirtual):
      (JSC::JSFunction::getOwnPropertyDescriptor):
      (JSC::JSFunction::getOwnPropertyNames):
      (JSC::JSFunction::put):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::getOwnPropertySlotVirtual):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::hasOwnPropertyForWrite):
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::getOwnPropertySlotVirtual):
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Holder::appendNextProperty):
      (JSC::JSONObject::getOwnPropertySlotVirtual):
      (JSC::Walker::walk):
      * runtime/JSONObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::getOwnPropertySlotVirtual):
      (JSC::JSObject::getOwnPropertySlot):
      (JSC::JSObject::hasOwnProperty):
      * runtime/JSObject.h:
      (JSC::JSObject::getOwnPropertySlotVirtual):
      (JSC::JSCell::fastGetOwnPropertySlot):
      (JSC::JSObject::getPropertySlot):
      (JSC::JSValue::get):
      * runtime/JSStaticScopeObject.cpp:
      (JSC::JSStaticScopeObject::getOwnPropertySlotVirtual):
      * runtime/JSStaticScopeObject.h:
      * runtime/JSString.cpp:
      (JSC::JSString::getOwnPropertySlotVirtual):
      (JSC::JSString::getOwnPropertySlot):
      * runtime/JSString.h:
      * runtime/Lookup.h:
      (JSC::getStaticPropertySlot):
      (JSC::getStaticFunctionSlot):
      (JSC::getStaticValueSlot):
      * runtime/MathObject.cpp:
      (JSC::MathObject::getOwnPropertySlotVirtual):
      * runtime/MathObject.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getOwnPropertySlotVirtual):
      * runtime/NumberConstructor.h:
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::getOwnPropertySlotVirtual):
      * runtime/NumberPrototype.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getOwnPropertySlotVirtual):
      * runtime/ObjectConstructor.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::getOwnPropertySlotVirtual):
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getOwnPropertySlotVirtual):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::getOwnPropertySlotVirtual):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::getOwnPropertySlotVirtual):
      * runtime/RegExpObject.h:
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::getOwnPropertySlotVirtual):
      * runtime/RegExpPrototype.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getOwnPropertySlotVirtual):
      * runtime/StringConstructor.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::getOwnPropertySlotVirtual):
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::getOwnPropertySlotVirtual):
      * runtime/StringPrototype.h:
      
      Source/JavaScriptGlue: 
      
      Renamed the virtual version of getOwnPropertySlot to getOwnPropertySlotVirtual
      in preparation for when we add the static getOwnPropertySlot to the MethodTable 
      in ClassInfo.
      
      Also added a few static getOwnPropertySlot functions where they had been overlooked 
      before (especially in CodeGeneratorJS.pm).
      
      * UserObjectImp.cpp:
      (UserObjectImp::getOwnPropertySlotVirtual):
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Renamed the virtual version of getOwnPropertySlot to getOwnPropertySlotVirtual
      in preparation for when we add the static getOwnPropertySlot to the MethodTable 
      in ClassInfo.
      
      Also added a few static getOwnPropertySlot functions where they had been overlooked 
      before (especially in CodeGeneratorJS.pm).
      
      * WebCore.exp.in:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlotVirtual):
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::DialogHandler::returnValue):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::getOwnPropertySlotVirtual):
      (WebCore::JSDOMWindowShell::getOwnPropertySlot):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSWorkerContextCustom.cpp:
      (WebCore::JSWorkerContext::getOwnPropertySlotDelegate):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::getSparseIndex):
      (WebCore::CloneSerializer::getProperty):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateGetOwnPropertySlotBody):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterfaceConstructor::getOwnPropertySlotVirtual):
      (WebCore::JSTestInterfaceConstructor::getOwnPropertySlot):
      (WebCore::JSTestInterface::getOwnPropertySlotVirtual):
      (WebCore::JSTestInterface::getOwnPropertySlot):
      * bindings/scripts/test/JS/JSTestInterface.h:
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
      (WebCore::JSTestMediaQueryListListenerConstructor::getOwnPropertySlotVirtual):
      (WebCore::JSTestMediaQueryListListenerConstructor::getOwnPropertySlot):
      (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertySlotVirtual):
      (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertySlot):
      (WebCore::JSTestMediaQueryListListener::getOwnPropertySlotVirtual):
      (WebCore::JSTestMediaQueryListListener::getOwnPropertySlot):
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObjConstructor::getOwnPropertySlotVirtual):
      (WebCore::JSTestObjConstructor::getOwnPropertySlot):
      (WebCore::JSTestObjPrototype::getOwnPropertySlotVirtual):
      (WebCore::JSTestObjPrototype::getOwnPropertySlot):
      (WebCore::JSTestObj::getOwnPropertySlotVirtual):
      (WebCore::JSTestObj::getOwnPropertySlot):
      * bindings/scripts/test/JS/JSTestObj.h:
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
      (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlotVirtual):
      (WebCore::JSTestSerializedScriptValueInterfaceConstructor::getOwnPropertySlot):
      (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlotVirtual):
      (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot):
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::getOwnPropertySlotVirtual):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::QtInstance::getOwnPropertySlot):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::getOwnPropertySlotVirtual):
      (JSC::Bindings::QtRuntimeConnectionMethod::getOwnPropertySlotVirtual):
      * bridge/qt/qt_runtime.h:
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertySlotVirtual):
      * bridge/runtime_array.h:
      * bridge/runtime_method.cpp:
      (JSC::RuntimeMethod::getOwnPropertySlotVirtual):
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getOwnPropertySlotVirtual):
      * bridge/runtime_object.h:
      
      Source/WebKit2: 
      
      Renamed the virtual version of getOwnPropertySlot to getOwnPropertySlotVirtual
      in preparation for when we add the static getOwnPropertySlot to the MethodTable 
      in ClassInfo.
      
      Also added a few static getOwnPropertySlot functions where they had been overlooked 
      before (especially in CodeGeneratorJS.pm).
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getOwnPropertySlotVirtual):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0418c85
    • mhahnenberg@apple.com's avatar
      Rename virtual put to putVirtual · e0c1d019
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69851
      
      Reviewed by Darin Adler.
      
      .: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * Source/autotools/symbols.filter:
      
      Source/JavaScriptCore: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::putVirtual):
      * API/JSObjectRef.cpp:
      (JSObjectSetProperty):
      (JSObjectSetPropertyAtIndex):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::putVirtual):
      (JSC::DebuggerActivation::put):
      * debugger/DebuggerActivation.h:
      * dfg/DFGOperations.cpp:
      (JSC::DFG::putByVal):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::execute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * jsc.cpp:
      (GlobalObject::finishCreation):
      * runtime/Arguments.cpp:
      (JSC::Arguments::putVirtual):
      * runtime/Arguments.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::putProperty):
      (JSC::arrayProtoFuncConcat):
      (JSC::arrayProtoFuncPush):
      (JSC::arrayProtoFuncReverse):
      (JSC::arrayProtoFuncShift):
      (JSC::arrayProtoFuncSlice):
      (JSC::arrayProtoFuncSort):
      (JSC::arrayProtoFuncSplice):
      (JSC::arrayProtoFuncUnShift):
      (JSC::arrayProtoFuncFilter):
      (JSC::arrayProtoFuncMap):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::putVirtual):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::putVirtual):
      (JSC::JSArray::putSlowCase):
      (JSC::JSArray::push):
      (JSC::JSArray::shiftCount):
      (JSC::JSArray::unshiftCount):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::putVirtual):
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::putVirtual):
      (JSC::JSCell::put):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::putVirtual):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::putVirtual):
      (JSC::JSGlobalObject::putWithAttributes):
      * runtime/JSGlobalObject.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::putVirtual):
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC::JSObject::putVirtual):
      (JSC::JSObject::put):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      (JSC::JSValue::put):
      * runtime/JSStaticScopeObject.cpp:
      (JSC::JSStaticScopeObject::putVirtual):
      * runtime/JSStaticScopeObject.h:
      * runtime/Lookup.h:
      (JSC::lookupPut):
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::putVirtual):
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpMatchesArray::fillArrayInstance):
      (JSC::RegExpConstructor::putVirtual):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::putVirtual):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::putVirtual):
      * runtime/RegExpObject.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::putVirtual):
      * runtime/StringObject.h:
      * runtime/StringPrototype.cpp:
      (JSC::stringProtoFuncSplit):
      
      Source/JavaScriptGlue: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * JSValueWrapper.cpp:
      (JSValueWrapper::JSObjectSetProperty):
      * UserObjectImp.cpp:
      (UserObjectImp::putVirtual):
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::putVirtual):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::putVirtual):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::putDelegate):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectCustomPut):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneDeserializer::putProperty):
      * bindings/objc/WebScriptObject.mm:
      (-[WebScriptObject setValue:forKey:]):
      (-[WebScriptObject setWebScriptValueAtIndex:value:]):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObj::putVirtual):
      * bindings/scripts/test/JS/JSTestObj.h:
      * bridge/NP_jsobject.cpp:
      (_NPN_SetProperty):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::setMember):
      (JavaJSObject::setSlot):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::putVirtual):
      * bridge/qt/qt_instance.cpp:
      (JSC::Bindings::QtInstance::put):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::convertQVariantToValue):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::putVirtual):
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::putVirtual):
      * bridge/runtime_object.h:
      * bridge/testqtbindings.cpp:
      (main):
      
      Source/WebKit/efl: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * ewk/ewk_view.cpp:
      (ewk_view_js_object_add):
      
      Source/WebKit/mac: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::setProperty):
      
      Source/WebKit/qt: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * Api/qwebframe.cpp:
      (QWebFrame::addToJavaScriptWindowObject):
      
      Source/WebKit2: 
      
      Renamed virtual versions of put to putVirtual in prepration for 
      adding the static put to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same 
      name.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::putVirtual):
      (WebKit::JSNPObject::put):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      * WebProcess/Plugins/Netscape/NPJSObject.cpp:
      (WebKit::NPJSObject::setProperty):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0c1d019
    • mhahnenberg@apple.com's avatar
      Rename virtual deleteProperty to deletePropertyVirtual · d710a4a6
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69884
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore: 
      
      Renamed virtual versions of deleteProperty to deletePropertyVirtual in prepration for 
      adding the static deleteProperty to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same name.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::deletePropertyVirtual):
      (JSC::::deleteProperty):
      * API/JSObjectRef.cpp:
      (JSObjectDeleteProperty):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::deletePropertyVirtual):
      (JSC::DebuggerActivation::deleteProperty):
      * debugger/DebuggerActivation.h:
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/Arguments.cpp:
      (JSC::Arguments::deletePropertyVirtual):
      * runtime/Arguments.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::arrayProtoFuncPop):
      (JSC::arrayProtoFuncReverse):
      (JSC::arrayProtoFuncShift):
      (JSC::arrayProtoFuncSplice):
      (JSC::arrayProtoFuncUnShift):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::deletePropertyVirtual):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::deletePropertyVirtual):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::deletePropertyVirtual):
      (JSC::JSCell::deleteProperty):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::deletePropertyVirtual):
      * runtime/JSFunction.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::deletePropertyVirtual):
      * runtime/JSNotAnObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Walker::walk):
      * runtime/JSObject.cpp:
      (JSC::JSObject::deletePropertyVirtual):
      (JSC::JSObject::deleteProperty):
      (JSC::JSObject::defineOwnProperty):
      * runtime/JSObject.h:
      * runtime/JSVariableObject.cpp:
      (JSC::JSVariableObject::deletePropertyVirtual):
      * runtime/JSVariableObject.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::deletePropertyVirtual):
      * runtime/StrictEvalActivation.cpp:
      (JSC::StrictEvalActivation::deletePropertyVirtual):
      * runtime/StrictEvalActivation.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::deletePropertyVirtual):
      * runtime/StringObject.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Renamed virtual versions of deleteProperty to deletePropertyVirtual in prepration for 
      adding the static deleteProperty to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same name.
      
      * WebCore.exp.in:
      * bindings/js/JSDOMStringMapCustom.cpp:
      (WebCore::JSDOMStringMap::deletePropertyVirtual):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::deletePropertyVirtual):
      * bindings/js/JSDOMWindowShell.cpp:
      (WebCore::JSDOMWindowShell::deletePropertyVirtual):
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::deletePropertyVirtual):
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::deletePropertyVirtual):
      * bindings/js/JSStorageCustom.cpp:
      (WebCore::JSStorage::deletePropertyVirtual):
      * bindings/js/ScriptObject.cpp:
      (WebCore::ScriptGlobalObject::remove):
      * bindings/objc/WebScriptObject.mm:
      (-[WebScriptObject removeWebScriptKey:]):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/NP_jsobject.cpp:
      (_NPN_RemoveProperty):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::removeMember):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::deletePropertyVirtual):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::deletePropertyVirtual):
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::deletePropertyVirtual):
      * bridge/runtime_object.h:
      
      Source/WebKit/mac: 
      
      Renamed virtual versions of deleteProperty to deletePropertyVirtual in prepration for 
      adding the static deleteProperty to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same name.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::removeProperty):
      
      Source/WebKit2: 
      
      Renamed virtual versions of deleteProperty to deletePropertyVirtual in prepration for 
      adding the static deleteProperty to the MethodTable in ClassInfo since the 
      compiler gets mad if the virtual and static versions have the same name.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::deletePropertyVirtual):
      (WebKit::JSNPObject::deleteProperty):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      * WebProcess/Plugins/Netscape/NPJSObject.cpp:
      (WebKit::NPJSObject::removeProperty):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d710a4a6
  24. 13 Oct, 2011 2 commits
    • mhahnenberg@apple.com's avatar
      Rename virtual getConstructData to getConstructDataVirtual · 8fb2b748
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69872
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Renamed virtual getConstructData functions to getConstructDataVirtual to
      avoid conflicts when we add static getConstructData to the MethodTable.
      
      * API/JSCallbackConstructor.cpp:
      (JSC::JSCallbackConstructor::getConstructDataVirtual):
      * API/JSCallbackConstructor.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getConstructDataVirtual):
      * API/JSObjectRef.cpp:
      (JSObjectIsConstructor):
      (JSObjectCallAsConstructor):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * dfg/DFGOperations.cpp:
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getConstructDataVirtual):
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::getConstructDataVirtual):
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getConstructDataVirtual):
      * runtime/DateConstructor.h:
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::getConstructDataVirtual):
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::getConstructDataVirtual):
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::getConstructDataVirtual):
      * runtime/FunctionConstructor.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getConstructDataVirtual):
      * runtime/JSCell.h:
      (JSC::getConstructData):
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getConstructDataVirtual):
      * runtime/JSFunction.h:
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::getConstructDataVirtual):
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getConstructDataVirtual):
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getConstructDataVirtual):
      * runtime/ObjectConstructor.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getConstructDataVirtual):
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getConstructDataVirtual):
      * runtime/StringConstructor.h:
      
      Source/WebCore:
      
      No new tests.
      
      Renamed virtual getConstructData functions to getConstructDataVirtual to
      avoid conflicts when we add static getConstructData to the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSAudioConstructor.cpp:
      (WebCore::JSAudioConstructor::getConstructDataVirtual):
      * bindings/js/JSAudioConstructor.h:
      * bindings/js/JSImageConstructor.cpp:
      (WebCore::JSImageConstructor::getConstructDataVirtual):
      * bindings/js/JSImageConstructor.h:
      * bindings/js/JSOptionConstructor.cpp:
      (WebCore::JSOptionConstructor::getConstructDataVirtual):
      * bindings/js/JSOptionConstructor.h:
      * bindings/js/ScriptFunctionCall.cpp:
      (WebCore::ScriptFunctionCall::construct):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterfaceConstructor::getConstructDataVirtual):
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getConstructDataVirtual):
      * bridge/runtime_object.h:
      
      Source/WebKit/mac:
      
      Renamed virtual getConstructData functions to getConstructDataVirtual to
      avoid conflicts when we add static getConstructData to the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::construct):
      
      Source/WebKit2:
      
      Renamed virtual getConstructData functions to getConstructDataVirtual to
      avoid conflicts when we add static getConstructData to the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getConstructDataVirtual):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fb2b748
    • mhahnenberg@apple.com's avatar
      De-virtualized JSCell::toNumber · 8d0ab17c
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69858
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore:
      
      Removed JSCallbackObject::toNumber because its no longer necessary since
      JSObject::toNumber now suffices since we implicitly add valueOf to an object's
      prototype whenever a convertToType callback is provided.
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      De-virtualized JSCell::toNumber, JSObject::toNumber, and JSString::toNumber.
      * runtime/JSCell.cpp:
      (JSC::JSCell::toNumber):
      * runtime/JSCell.h:
      * runtime/JSObject.h:
      * runtime/JSString.h:
      
      Removed JSNotAnObject::toNumber because its result doesn't matter and it implements
      defaultValue, therefore JSObject::toNumber can cover its case.
      * runtime/JSNotAnObject.cpp:
      * runtime/JSNotAnObject.h:
      
      Source/JavaScriptGlue:
      
      Removed UserObjectImp::toNumber because it's no longer necessary since
      JSObject::toNumber can cover this case.
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d0ab17c
  25. 12 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize JSCell::toString · 7b72b790
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69677
      
      Reviewed by Sam Weinig.
      
      Source/JavaScriptCore:
      
      Removed toString from JSCallbackObject, since it is no
      longer necessary since we now implicitly add toString and valueOf
      functions to object prototypes when a convertToType callback
      is provided, which is now the standard way to override toString
      and valueOf in the JSC C API.
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      Removed toString from InterruptedExecutionError and
      TerminatedExecutionError and replaced it with defaultValue,
      which JSObject::toString calls.  We'll probably have to de-virtualize
      defaultValue eventually, but we'll cross that bridge when we
      come to it.
      * runtime/ExceptionHelpers.cpp:
      (JSC::InterruptedExecutionError::defaultValue):
      (JSC::TerminatedExecutionError::defaultValue):
      * runtime/ExceptionHelpers.h:
      
      Removed toString from JSNotAnObject, since its return value doesn't
      actually matter and JSObject::toString can cover it.
      * runtime/JSNotAnObject.cpp:
      * runtime/JSNotAnObject.h:
      
      De-virtualized JSCell::toString, JSObject::toString and JSString::toString.
      Added handling of all cases for JSCell to JSCell::toString.
      * runtime/JSObject.h:
      * runtime/JSString.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::toString):
      * runtime/JSCell.h:
      
      Source/JavaScriptGlue:
      
      Removed UserObjectImp::toString because it's no longer necessary since
      clients can provide their own toString callback which will in turn be
      called by JSObject::toString.
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b72b790
  26. 10 Oct, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      Remove getCallDataVirtual methods · 6fb47cf1
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69186
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Removed all getCallDataVirtual methods and replaced their call sites
      with an explicit lookup in the MethodTable.
      
      * API/JSCallbackFunction.cpp:
      * API/JSCallbackFunction.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * API/JSObjectRef.cpp:
      (JSObjectIsFunction):
      (JSObjectCallAsFunction):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ArrayConstructor.cpp:
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      * runtime/DateConstructor.h:
      
      Moved StrictModeTypeErrorFunction to Error.h in order to be able to include
      the class definition in JSGlobalObject.cpp.
      * runtime/Error.cpp:
      (JSC::createTypeErrorFunction):
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::StrictModeTypeErrorFunction):
      (JSC::StrictModeTypeErrorFunction::create):
      (JSC::StrictModeTypeErrorFunction::constructThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getConstructData):
      (JSC::StrictModeTypeErrorFunction::callThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getCallData):
      (JSC::StrictModeTypeErrorFunction::createStructure):
      * runtime/ErrorConstructor.cpp:
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      * runtime/FunctionConstructor.h:
      * runtime/FunctionPrototype.cpp:
      * runtime/FunctionPrototype.h:
      
      To allow subclasses of InternalFunction (e.g. QtRuntimeMethod) to not have
      to declare their own ClassInfo if they don't override getCallData, provided
      an implementation that calls ASSERT_NOT_REACHED if called, providing roughly the same
      functionality as of the pure virtual method InternalFunction used to have.
      Also made this new implementation protected rather than private for the same reason.
      Also added an ASSERT in InternalFunction::finishCreation to make sure that whatever
      object is being created provides their own implementation of getCallData.  This
      just makes execution fail earlier in a place where the source of the error is
      easy to trace.  These ASSERTs are better than putting a null in the MethodTable because
      they appear much more intentional to anybody who fails to provide their own
      implementation or who tries to explicitly call InternalFunction::getCallData.
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::finishCreation):
      (JSC::InternalFunction::getCallData):
      * runtime/InternalFunction.h:
      * runtime/JSCell.cpp:
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      
      Added a global structure to JSGlobalObject for StrictModeTypeErrorFunction to enable
      it to be reused rather than creating a new Structure every time we instantiate it.
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      (JSC::JSGlobalObject::visitChildren):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::strictModeTypeErrorFunctionStructure):
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Stringifier):
      (JSC::Stringifier::toJSON):
      (JSC::Stringifier::appendStringifiedValue):
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
      * runtime/JSObject.h:
      (JSC::getCallData):
      * runtime/NativeErrorConstructor.cpp:
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      * runtime/ObjectConstructor.h:
      * runtime/Operations.cpp:
      (JSC::jsTypeStringForValue):
      (JSC::jsIsObjectType):
      (JSC::jsIsFunctionType):
      * runtime/PropertySlot.cpp:
      (JSC::PropertySlot::functionGetter):
      * runtime/RegExpConstructor.cpp:
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      * runtime/StringConstructor.h:
      * runtime/Structure.h:
      
      Source/JavaScriptGlue:
      
      Removed all getCallDataVirtual methods and replaced their call sites
      with an explicit lookup in the MethodTable.
      
      * JSValueWrapper.cpp:
      (JSValueWrapper::JSObjectCallFunction):
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      Source/WebCore:
      
      No new tests.
      
      Removed all getCallDataVirtual methods and replaced their call sites
      with an explicit lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSCallbackData.cpp:
      (WebCore::JSCallbackData::invokeCallback):
      * bindings/js/JSCustomXPathNSResolver.cpp:
      (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
      * bindings/js/JSErrorHandler.cpp:
      (WebCore::JSErrorHandler::handleEvent):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSHTMLAllCollectionCustom.cpp:
      * bindings/js/JSHTMLAppletElementCustom.cpp:
      * bindings/js/JSHTMLEmbedElementCustom.cpp:
      * bindings/js/JSHTMLObjectElementCustom.cpp:
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      (WebCore::JSInjectedScriptHost::evaluate):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectGetCallData):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeConnectionMethod::call):
      (JSC::Bindings::isJavaScriptFunction):
      * bridge/qt/qt_runtime.h:
      (JSC::Bindings::QtRuntimeMetaMethod::create):
      (JSC::Bindings::QtRuntimeMetaMethod::createStructure):
      (JSC::Bindings::QtRuntimeConnectionMethod::create):
      (JSC::Bindings::QtRuntimeConnectionMethod::createStructure):
      * bridge/runtime_method.cpp:
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      
      Source/WebKit/mac:
      
      Removed all getCallDataVirtual methods and replaced their call sites
      with an explicit lookup in the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::invokeDefault):
      
      Source/WebKit2:
      
      Removed all getCallDataVirtual methods and replaced their call sites
      with an explicit lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb47cf1
  27. 08 Oct, 2011 3 commits
    • mhahnenberg@apple.com's avatar
      Add static version of JSCell::getConstructData · 79c8e6e4
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69673
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Added static version of getConstructData to all classes that
      override it and changed the virtual versions to call the static
      versions.  This is the first step in de-virtualizing JSCell::getConstructData.
      
      * API/JSCallbackConstructor.cpp:
      (JSC::JSCallbackConstructor::getConstructData):
      * API/JSCallbackConstructor.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getConstructData):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getConstructData):
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::getConstructData):
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getConstructData):
      * runtime/DateConstructor.h:
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::getConstructData):
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::getConstructData):
      * runtime/FunctionConstructor.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getConstructData):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getConstructData):
      * runtime/JSFunction.h:
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::getConstructData):
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getConstructData):
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getConstructData):
      * runtime/ObjectConstructor.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getConstructData):
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getConstructData):
      * runtime/StringConstructor.h:
      
      Source/WebCore:
      
      No new tests.
      
      Added static version of getConstructData to all classes that
      override it and changed the virtual versions to call the static
      versions.  This is the first step in de-virtualizing JSCell::getConstructData.
      
      * bindings/js/JSAudioConstructor.cpp:
      (WebCore::JSAudioConstructor::getConstructData):
      * bindings/js/JSAudioConstructor.h:
      * bindings/js/JSImageConstructor.cpp:
      (WebCore::JSImageConstructor::getConstructData):
      * bindings/js/JSImageConstructor.h:
      * bindings/js/JSOptionConstructor.cpp:
      (WebCore::JSOptionConstructor::getConstructData):
      * bindings/js/JSOptionConstructor.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateConstructorDeclaration):
      (GenerateConstructorDefinition):
      * bindings/scripts/test/JS/JSTestInterface.cpp:
      (WebCore::JSTestInterfaceConstructor::getConstructData):
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getConstructData):
      * bridge/runtime_object.h:
      
      Source/WebKit2:
      
      Added static version of getConstructData to all classes that
      override it and changed the virtual versions to call the static
      versions.  This is the first step in de-virtualizing JSCell::getConstructData.
      
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getConstructData):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79c8e6e4
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r96996. · c7d21fd4
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/96996
      https://bugs.webkit.org/show_bug.cgi?id=69697
      
      It broke all tests on the Qt bot (Requested by Ossy_night on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-08
      
      Source/JavaScriptCore:
      
      * API/JSCallbackFunction.cpp:
      (JSC::JSCallbackFunction::getCallDataVirtual):
      * API/JSCallbackFunction.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getCallDataVirtual):
      * API/JSObjectRef.cpp:
      (JSObjectIsFunction):
      (JSObjectCallAsFunction):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::getCallDataVirtual):
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::getCallDataVirtual):
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::getCallDataVirtual):
      * runtime/DateConstructor.h:
      * runtime/Error.cpp:
      (JSC::StrictModeTypeErrorFunction::StrictModeTypeErrorFunction):
      (JSC::StrictModeTypeErrorFunction::create):
      (JSC::StrictModeTypeErrorFunction::constructThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getConstructData):
      (JSC::StrictModeTypeErrorFunction::callThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getCallDataVirtual):
      (JSC::StrictModeTypeErrorFunction::getCallData):
      (JSC::StrictModeTypeErrorFunction::createStructure):
      (JSC::createTypeErrorFunction):
      * runtime/Error.h:
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::getCallDataVirtual):
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::getCallDataVirtual):
      * runtime/FunctionConstructor.h:
      * runtime/FunctionPrototype.cpp:
      (JSC::FunctionPrototype::getCallDataVirtual):
      * runtime/FunctionPrototype.h:
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::finishCreation):
      * runtime/InternalFunction.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::getCallDataVirtual):
      * runtime/JSCell.h:
      (JSC::getCallData):
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::getCallDataVirtual):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      (JSC::JSGlobalObject::visitChildren):
      * runtime/JSGlobalObject.h:
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Stringifier):
      (JSC::Stringifier::toJSON):
      (JSC::Stringifier::appendStringifiedValue):
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
      * runtime/JSObject.h:
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::getCallDataVirtual):
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::getCallDataVirtual):
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::getCallDataVirtual):
      * runtime/ObjectConstructor.h:
      * runtime/Operations.cpp:
      (JSC::jsTypeStringForValue):
      (JSC::jsIsObjectType):
      (JSC::jsIsFunctionType):
      * runtime/PropertySlot.cpp:
      (JSC::PropertySlot::functionGetter):
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::getCallDataVirtual):
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::getCallDataVirtual):
      * runtime/StringConstructor.h:
      * runtime/Structure.h:
      
      Source/JavaScriptGlue:
      
      * JSValueWrapper.cpp:
      (JSValueWrapper::JSObjectCallFunction):
      * UserObjectImp.cpp:
      (UserObjectImp::getCallDataVirtual):
      * UserObjectImp.h:
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * bindings/js/JSCallbackData.cpp:
      (WebCore::JSCallbackData::invokeCallback):
      * bindings/js/JSCustomXPathNSResolver.cpp:
      (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
      * bindings/js/JSErrorHandler.cpp:
      (WebCore::JSErrorHandler::handleEvent):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSHTMLAllCollectionCustom.cpp:
      (WebCore::JSHTMLAllCollection::getCallDataVirtual):
      * bindings/js/JSHTMLAppletElementCustom.cpp:
      (WebCore::JSHTMLAppletElement::getCallDataVirtual):
      * bindings/js/JSHTMLEmbedElementCustom.cpp:
      (WebCore::JSHTMLEmbedElement::getCallDataVirtual):
      * bindings/js/JSHTMLObjectElementCustom.cpp:
      (WebCore::JSHTMLObjectElement::getCallDataVirtual):
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      (WebCore::JSInjectedScriptHost::evaluate):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectGetCallData):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::getCallDataVirtual):
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeMetaMethod::getCallDataVirtual):
      (JSC::Bindings::QtRuntimeConnectionMethod::call):
      (JSC::Bindings::QtRuntimeConnectionMethod::getCallDataVirtual):
      (JSC::Bindings::isJavaScriptFunction):
      * bridge/qt/qt_runtime.h:
      * bridge/runtime_method.cpp:
      (JSC::RuntimeMethod::getCallDataVirtual):
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::getCallDataVirtual):
      * bridge/runtime_object.h:
      
      Source/WebKit/mac:
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::invokeDefault):
      
      Source/WebKit2:
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      (WebKit::JSNPMethod::getCallDataVirtual):
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      (WebKit::JSNPObject::getCallDataVirtual):
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7d21fd4
    • mhahnenberg@apple.com's avatar
      Add static version of JSCell::deleteProperty · 914c3eeb
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69659
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Added static version of both versions of put to all classes that
      override them and changed the virtual versions to call the static
      versions.  This is the first step in de-virtualizing JSCell::deleteProperty.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::deleteProperty):
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::deleteProperty):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      (JSC::Arguments::deleteProperty):
      * runtime/Arguments.h:
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::deleteProperty):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::deleteProperty):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::deleteProperty):
      * runtime/JSFunction.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::deleteProperty):
      * runtime/JSNotAnObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::deleteProperty):
      * runtime/JSObject.h:
      * runtime/JSVariableObject.cpp:
      (JSC::JSVariableObject::deleteProperty):
      * runtime/JSVariableObject.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::deleteProperty):
      * runtime/StrictEvalActivation.cpp:
      (JSC::StrictEvalActivation::deleteProperty):
      * runtime/StrictEvalActivation.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::deleteProperty):
      * runtime/StringObject.h:
      
      Source/WebCore:
      
      No new tests.
      
      Added static version of both versions of put to all classes that
      override them and changed the virtual versions to call the static
      versions.  This is the first step in de-virtualizing JSCell::deleteProperty.
      
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::deleteProperty):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::deleteProperty):
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::deleteProperty):
      * bridge/runtime_object.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      914c3eeb
  28. 07 Oct, 2011 2 commits
    • mhahnenberg@apple.com's avatar
      Remove getCallDataVirtual methods · 597be029
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69186
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      Removed all getCallDataVirtual methods and replaced their call sites 
      with an explicit lookup in the MethodTable.
      
      * API/JSCallbackFunction.cpp:
      * API/JSCallbackFunction.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      * API/JSObjectRef.cpp:
      (JSObjectIsFunction):
      (JSObjectCallAsFunction):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/ArrayConstructor.cpp:
      * runtime/ArrayConstructor.h:
      * runtime/BooleanConstructor.cpp:
      * runtime/BooleanConstructor.h:
      * runtime/DateConstructor.cpp:
      * runtime/DateConstructor.h:
      * runtime/Error.cpp:
      (JSC::createTypeErrorFunction):
      
      Moved StrictModeTypeErrorFunction to Error.h in order to be able to include 
      the class definition in JSGlobalObject.cpp.
      * runtime/Error.h:
      (JSC::StrictModeTypeErrorFunction::StrictModeTypeErrorFunction):
      (JSC::StrictModeTypeErrorFunction::create):
      (JSC::StrictModeTypeErrorFunction::constructThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getConstructData):
      (JSC::StrictModeTypeErrorFunction::callThrowTypeError):
      (JSC::StrictModeTypeErrorFunction::getCallData):
      (JSC::StrictModeTypeErrorFunction::createStructure):
      * runtime/ErrorConstructor.cpp:
      * runtime/ErrorConstructor.h:
      * runtime/FunctionConstructor.cpp:
      * runtime/FunctionConstructor.h:
      * runtime/FunctionPrototype.cpp:
      * runtime/FunctionPrototype.h:
      
      To allow subclasses of InternalFunction (e.g. QtRuntimeMethod) to not have 
      to declare their own ClassInfo if they don't override getCallData, provided 
      an implementation that calls ASSERT_NOT_REACHED if called, providing roughly the same 
      functionality as of the pure virtual method InternalFunction used to have.
      Also made this new implementation protected rather than private for the same reason.
      Also added an ASSERT in InternalFunction::finishCreation to make sure that whatever 
      object is being created provides their own implementation of getCallData.  This 
      just makes execution fail earlier in a place where the source of the error is 
      easy to trace.  These ASSERTs are better than putting a null in the MethodTable because
      they appear much more intentional to anybody who fails to provide their own 
      implementation or who tries to explicitly call InternalFunction::getCallData.
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::finishCreation):
      (JSC::InternalFunction::getCallData):
      * runtime/InternalFunction.h:
      * runtime/JSCell.cpp:
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      
      Added a global structure to JSGlobalObject for StrictModeTypeErrorFunction to enable 
      it to be reused rather than creating a new Structure every time we instantiate it.
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::reset):
      (JSC::JSGlobalObject::visitChildren):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::strictModeTypeErrorFunctionStructure):
      * runtime/JSONObject.cpp:
      (JSC::Stringifier::Stringifier):
      (JSC::Stringifier::toJSON):
      (JSC::Stringifier::appendStringifiedValue):
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
      * runtime/JSObject.h:
      (JSC::getCallData):
      * runtime/NativeErrorConstructor.cpp:
      * runtime/NativeErrorConstructor.h:
      * runtime/NumberConstructor.cpp:
      * runtime/NumberConstructor.h:
      * runtime/ObjectConstructor.cpp:
      * runtime/ObjectConstructor.h:
      * runtime/Operations.cpp:
      (JSC::jsTypeStringForValue):
      (JSC::jsIsObjectType):
      (JSC::jsIsFunctionType):
      * runtime/PropertySlot.cpp:
      (JSC::PropertySlot::functionGetter):
      * runtime/RegExpConstructor.cpp:
      * runtime/RegExpConstructor.h:
      * runtime/StringConstructor.cpp:
      * runtime/StringConstructor.h:
      * runtime/Structure.h:
      
      Source/JavaScriptGlue: 
      
      Removed all getCallDataVirtual methods and replaced their call sites 
      with an explicit lookup in the MethodTable.
      
      * JSValueWrapper.cpp:
      (JSValueWrapper::JSObjectCallFunction):
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      Source/WebCore: 
      
      No new tests.
      
      Removed all getCallDataVirtual methods and replaced their call sites 
      with an explicit lookup in the MethodTable.
      
      * WebCore.exp.in:
      * bindings/js/JSCallbackData.cpp:
      (WebCore::JSCallbackData::invokeCallback):
      * bindings/js/JSCustomXPathNSResolver.cpp:
      (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
      * bindings/js/JSErrorHandler.cpp:
      (WebCore::JSErrorHandler::handleEvent):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSHTMLAllCollectionCustom.cpp:
      * bindings/js/JSHTMLAppletElementCustom.cpp:
      * bindings/js/JSHTMLEmbedElementCustom.cpp:
      * bindings/js/JSHTMLObjectElementCustom.cpp:
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      (WebCore::JSInjectedScriptHost::evaluate):
      * bindings/js/JSPluginElementFunctions.cpp:
      (WebCore::runtimeObjectGetCallData):
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::QtRuntimeConnectionMethod::call):
      (JSC::Bindings::isJavaScriptFunction):
      * bridge/qt/qt_runtime.h:
      (JSC::Bindings::QtRuntimeMetaMethod::createStructure):
      (JSC::Bindings::QtRuntimeConnectionMethod::createStructure):
      * bridge/runtime_method.cpp:
      * bridge/runtime_method.h:
      * bridge/runtime_object.cpp:
      * bridge/runtime_object.h:
      
      Source/WebKit/mac: 
      
      Removed all getCallDataVirtual methods and replaced their call sites 
      with an explicit lookup in the MethodTable.
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::invokeDefault):
      
      Source/WebKit2: 
      
      Removed all getCallDataVirtual methods and replaced their call sites 
      with an explicit lookup in the MethodTable.
      
      * WebProcess/Plugins/Netscape/JSNPMethod.cpp:
      * WebProcess/Plugins/Netscape/JSNPMethod.h:
      * WebProcess/Plugins/Netscape/JSNPObject.cpp:
      * WebProcess/Plugins/Netscape/JSNPObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      597be029
    • mhahnenberg@apple.com's avatar
      Add static version of JSCell::put · 5e2b7127
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=69382
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Added static version of both versions of put to all classes that
      override them and changed the virtual versions to call the static
      versions.
      
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::::put):
      * JavaScriptCore.exp:
      * debugger/DebuggerActivation.cpp:
      (JSC::DebuggerActivation::put):
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      (JSC::Arguments::put):
      * runtime/Arguments.h:
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::put):
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      (JSC::JSArray::put):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::put):
      * runtime/JSByteArray.h:
      * runtime/JSCell.cpp:
      (JSC::JSCell::put):
      * runtime/JSCell.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::put):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      (JSC::JSGlobalObject::put):
      * runtime/JSGlobalObject.h:
      * runtime/JSNotAnObject.cpp:
      (JSC::JSNotAnObject::put):
      * runtime/JSNotAnObject.h:
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
      * runtime/JSObject.h:
      * runtime/JSStaticScopeObject.cpp:
      (JSC::JSStaticScopeObject::put):
      * runtime/JSStaticScopeObject.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::put):
      * runtime/ObjectPrototype.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::put):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpMatchesArray.h:
      (JSC::RegExpMatchesArray::put):
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::put):
      * runtime/RegExpObject.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::put):
      * runtime/StringObject.h:
      
      Source/JavaScriptGlue:
      
      Added static version of both versions of put to all classes that
      override them and changed the virtual versions to call the static
      versions.
      
      * UserObjectImp.cpp:
      (UserObjectImp::put):
      * UserObjectImp.h:
      
      Source/WebCore:
      
      No new tests.
      
      Added static version of both versions of put to all classes that
      override them and changed the virtual versions to call the static
      versions.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObj::put):
      * bindings/scripts/test/JS/JSTestObj.h:
      * bridge/objc/objc_runtime.h:
      * bridge/objc/objc_runtime.mm:
      (JSC::Bindings::ObjcFallbackObjectImp::put):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::put):
      * bridge/runtime_array.h:
      * bridge/runtime_object.cpp:
      (JSC::Bindings::RuntimeObject::put):
      * bridge/runtime_object.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e2b7127
  29. 29 Sep, 2011 1 commit
    • mhahnenberg@apple.com's avatar
      De-virtualize JSCell::visitChildrenVirtual and remove all other visitChildrenVirtual methods · 8687da90
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68839
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Removed the remaining visitChildrenVirtual methods.  This patch completes the process of
      de-virtualizing visitChildren.
      
      * API/JSCallbackObject.h:
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * debugger/DebuggerActivation.cpp:
      * debugger/DebuggerActivation.h:
      * runtime/Arguments.cpp:
      * runtime/Arguments.h:
      * runtime/Executable.cpp:
      * runtime/Executable.h:
      * runtime/GetterSetter.cpp:
      * runtime/GetterSetter.h:
      * runtime/JSActivation.cpp:
      * runtime/JSActivation.h:
      * runtime/JSArray.cpp:
      * runtime/JSArray.h:
      * runtime/JSFunction.cpp:
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.cpp:
      * runtime/JSGlobalObject.h:
      * runtime/JSObject.cpp:
      * runtime/JSPropertyNameIterator.cpp:
      * runtime/JSPropertyNameIterator.h:
      * runtime/JSStaticScopeObject.cpp:
      * runtime/JSStaticScopeObject.h:
      * runtime/JSValue.h:
      * runtime/NativeErrorConstructor.cpp:
      * runtime/NativeErrorConstructor.h:
      * runtime/RegExpObject.cpp:
      * runtime/RegExpObject.h:
      * runtime/Structure.cpp:
      * runtime/Structure.h:
      * runtime/StructureChain.cpp:
      * runtime/StructureChain.h:
      
      Inlined the method table access and call to the visitChildren function (the only call sites
      to visitChildren are here).
      * heap/MarkStack.cpp:
      (JSC::SlotVisitor::visitChildren):
      
      Changed the field name for the visitChildren function pointer to visitChildren (from
      visitChildrenFunctionPtr) to make call sites less verbose.
      * runtime/ClassInfo.h:
      
      Discovered JSBoundFunction doesn't have its own ClassInfo (it used JSFunction's ClassInfo) but
      overrides visitChildren, so it needs to have its own ClassInfo.
      * runtime/JSBoundFunction.cpp:
      * runtime/JSBoundFunction.h:
      
      Had to move className up to make sure that the virtual destructor in JSObject wasn't
      the first non-inline virtual method in JSObject (as per the comment in the file).
      Also moved JSCell::visitChildrenVirtual into JSObject.h in order for it be inline-able
      to mitigate the cost of an extra method call.
      
      Also added a convenience accessor function methodTable() to JSCell to return the MethodTable to make
      call sites more concise.  Implementation is inline in JSObject.h.
      * runtime/JSObject.h:
      (JSC::JSCell::methodTable):
      * runtime/JSCell.h:
      
      Added an out of line virtual destructor to JSWrapperObject and ScopeChainNode to
      appease the vtable gods.  It refused to compile if there were no virtual methods in
      both of these classes due to the presence of a weak vtable pointer.
      * runtime/JSWrapperObject.cpp:
      (JSC::JSWrapperObject::~JSWrapperObject):
      * runtime/JSWrapperObject.h:
      * runtime/ScopeChain.cpp:
      (JSC::ScopeChainNode::~ScopeChainNode):
      * runtime/ScopeChain.h:
      
      Source/JavaScriptGlue:
      
      Removed the remaining visitChildrenVirtual methods.  This patch completes the process of
      de-virtualizing visitChildren.
      
      * UserObjectImp.cpp:
      * UserObjectImp.h:
      
      Source/WebCore:
      
      No new tests.
      
      Removed the remaining visitChildrenVirtual methods.  This patch completes the process of
      de-virtualizing visitChildren.
      
      * WebCore.exp.in:
      * bindings/js/JSAttrCustom.cpp:
      * bindings/js/JSAudioContextCustom.cpp:
      * bindings/js/JSCSSRuleCustom.cpp:
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      * bindings/js/JSCanvasRenderingContextCustom.cpp:
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::~JSDOMGlobalObject):
      (WebCore::JSDOMGlobalObject::finishCreation):
      * bindings/js/JSDOMGlobalObject.h:
      * bindings/js/JSDOMWindowCustom.cpp:
      * bindings/js/JSDOMWindowShell.cpp:
      * bindings/js/JSDOMWindowShell.h:
      * bindings/js/JSJavaScriptAudioNodeCustom.cpp:
      * bindings/js/JSMessageChannelCustom.cpp:
      * bindings/js/JSMessagePortCustom.cpp:
      * bindings/js/JSNamedNodeMapCustom.cpp:
      * bindings/js/JSNodeCustom.cpp:
      * bindings/js/JSNodeFilterCustom.cpp:
      * bindings/js/JSNodeIteratorCustom.cpp:
      * bindings/js/JSSVGElementInstanceCustom.cpp:
      * bindings/js/JSSharedWorkerCustom.cpp:
      * bindings/js/JSStyleSheetCustom.cpp:
      * bindings/js/JSTreeWalkerCustom.cpp:
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      * bindings/js/JSWorkerContextCustom.cpp:
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      * bindings/js/JSXPathResultCustom.cpp:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bridge/qt/qt_instance.cpp:
      * bridge/qt/qt_runtime.cpp:
      * bridge/qt/qt_runtime.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8687da90