1. 04 Apr, 2011 13 commits
    • oliver@apple.com's avatar
      2011-04-04 Oliver Hunt <oliver@apple.com> · ed66e778
      oliver@apple.com authored
              Reviewed by Antti Koivisto.
      
              Stop JSCell.h from including Structure.h
              https://bugs.webkit.org/show_bug.cgi?id=57809
      
              * runtime/GetterSetter.h:
              * runtime/JSAPIValueWrapper.h:
              * runtime/JSCell.h:
              (JSC::JSCell::JSValue::toThisObject):
              * runtime/JSString.h:
              * runtime/ScopeChain.h:
              * runtime/Structure.h:
              (JSC::JSCell::isObject):
              (JSC::JSCell::isString):
              (JSC::JSCell::classInfo):
              (JSC::JSCell::createDummyStructure):
              (JSC::JSValue::needsThisConversion):
              (JSC::MarkStack::internalAppend):
              * runtime/StructureChain.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed66e778
    • oliver@apple.com's avatar
      Fix clang build. · ec16a9ff
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec16a9ff
    • oliver@apple.com's avatar
      Remove accidental change to Platform.h · 19ea1958
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19ea1958
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 6ac69d8e
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Fixed a weak-handle-related leak in RegisterFile
              https://bugs.webkit.org/show_bug.cgi?id=57793
      
              * interpreter/RegisterFile.cpp: Nixed leaky GlobalObjectNotifier.
              * interpreter/RegisterFile.h:
              (JSC::RegisterFile::GlobalObjectOwner::finalize):
              (JSC::RegisterFile::RegisterFile): Replaced GlobalObjectNotifier with
              a per-RegisterFile weak handle owner, which does not leak.
      
              * runtime/WeakGCPtr.h:
              (JSC::WeakGCPtr::set): Allow set() to take a context argument, since
              RegisterFile now needs this. (Seems like it was an accidental omission
              all along.)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ac69d8e
    • oliver@apple.com's avatar
      2011-04-04 Oliver Hunt <oliver@apple.com> · 0e5b03cf
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Make malloc validation useful
              https://bugs.webkit.org/show_bug.cgi?id=57502
      
              This patch changes FAST_MALLOC_MATCH_VALIDATION with a general
              corruption check that tags the beginning and end of all allocations
              to check for write overflows and overwrites the contents of
              memory on free in order to (hopefully) show up use-after-free issues
              sooner.
      
              We also turn it on by default for debug builds.
      
              * JavaScriptCore.exp:
              * wtf/FastMalloc.cpp:
              (WTF::tryFastMalloc):
              (WTF::fastMalloc):
              (WTF::tryFastCalloc):
              (WTF::fastCalloc):
              (WTF::fastFree):
              (WTF::tryFastRealloc):
              (WTF::fastRealloc):
              (WTF::TCMalloc_PageHeap::isScavengerSuspended):
              (WTF::TCMalloc_PageHeap::scheduleScavenger):
              (WTF::TCMalloc_PageHeap::suspendScavenger):
              (WTF::TCMalloc_PageHeap::signalScavenger):
              (WTF::TCMallocStats::malloc):
              (WTF::TCMallocStats::free):
              (WTF::TCMallocStats::fastCalloc):
              (WTF::TCMallocStats::tryFastCalloc):
              (WTF::TCMallocStats::calloc):
              (WTF::TCMallocStats::fastRealloc):
              (WTF::TCMallocStats::tryFastRealloc):
              (WTF::TCMallocStats::realloc):
              * wtf/FastMalloc.h:
              (WTF::Internal::fastMallocValidationHeader):
              (WTF::Internal::fastMallocValidationSuffix):
              (WTF::Internal::fastMallocMatchValidationType):
              (WTF::Internal::setFastMallocMatchValidationType):
              (WTF::fastMallocMatchValidateFree):
              (WTF::fastMallocValidate):
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e5b03cf
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 71465f3b
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Renamed clearWeakPointers => updateWeakHandles and removed misleading comment
              https://bugs.webkit.org/show_bug.cgi?id=57790
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::updateWeakHandles): Updated for rename.
      
              * collector/handles/HandleHeap.h: Removed comment claiming that this
              function should only be called during teardown, because it's actually
              called after every GC pass.
      
              * runtime/Heap.cpp:
              (JSC::Heap::destroy):
              (JSC::Heap::markRoots): Updated for rename.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71465f3b
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 4259c481
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Standardized handling of handles for immediate values
              https://bugs.webkit.org/show_bug.cgi?id=57788
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::clearWeakPointers): Don't check for null or non-cell
              values here, because our write barrier guarantees that such values are
              not in the weak list.
      
              (JSC::HandleHeap::writeBarrier): Standardized on checking for null before
              checking for cell, and on using early return instead of if/else.
      
              * collector/handles/HandleHeap.h:
              (JSC::HandleHeap::deallocate):
              (JSC::HandleHeap::makeWeak): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4259c481
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · debf235e
      ggaren@apple.com authored
              Not reviewed.
      
              Removed a redundant variable from HandleHeap
              https://bugs.webkit.org/show_bug.cgi?id=57786
              
              Forgot to commit the file that actually removes the data member!
              
              * collector/handles/HandleHeap.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      debf235e
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · ad916a7f
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Removed a redundant variable from HandleHeap
              https://bugs.webkit.org/show_bug.cgi?id=57786
              
              We don't need a specific variable to indicate that we're in the middle
              of the finalization phase, since m_nextToFinalize already does this.
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::HandleHeap):
              (JSC::HandleHeap::clearWeakPointers):
              (JSC::HandleHeap::writeBarrier):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad916a7f
    • ggaren@apple.com's avatar
      2011-04-04 Geoffrey Garen <ggaren@apple.com> · 9e273681
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Renamed Finalizer => WeakHandleOwner (in preparation for adding a reachability callback)
              https://bugs.webkit.org/show_bug.cgi?id=57775
              
              Also renamed noFinalizer => emptyWeakOwner, since this is really an
              optimization for a weak owner with empty callbacks.
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::clearWeakPointers): Updated for renames. Removed
              redundant initialization of m_nextToFinalize. Moved deletion check inside
              weak owner check, since the weak owner can't delete the node if there is
              no weak owner!
      
              * collector/handles/HandleHeap.h:
              (JSC::WeakHandleOwner::~WeakHandleOwner):
              (JSC::HandleHeap::makeWeak): Updated for renames.
      
              (JSC::HandleHeap::hasWeakOwner): Changed getFinalizer to hasWeakOwner,
              to clarify this function's role in assertions.
      
              (JSC::HandleHeap::Node::Node):
              (JSC::HandleHeap::Node::makeWeak):
              (JSC::HandleHeap::Node::isWeak):
              (JSC::HandleHeap::Node::weakOwner):
              (JSC::HandleHeap::Node::weakOwnerContext):
              (JSC::HandleHeap::Node::emptyWeakOwner):
              * interpreter/RegisterFile.cpp:
              (JSC::RegisterFile::globalObjectCollectedNotifier):
              * interpreter/RegisterFile.h:
              * runtime/WeakGCMap.h:
              * runtime/WeakGCPtr.h:
              (JSC::WeakGCPtr::WeakGCPtr):
              (JSC::WeakGCPtr::set): Updated for renames.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e273681
    • oliver@apple.com's avatar
      Fix WinCE build. · 2a16006d
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a16006d
    • aroben@apple.com's avatar
      Delete mt.dep files when doing a clean build due to .vsprops file changes · 4648fc53
      aroben@apple.com authored
      Apparently this is yet another file that Visual Studio can't figure out it needs to rebuild.
      
      Fixes <http://webkit.org/b/57777> r82850 failed to build on Windows Debug (Build)
      
      Reviewed by Brian Weinstein.
      
      * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
      (main): Added dep to the list of extensions we look for when choosing files to delete.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4648fc53
    • oliver@apple.com's avatar
      2011-04-01 Oliver Hunt <oliver@apple.com> · 59144210
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Make StructureChain GC allocated
              https://bugs.webkit.org/show_bug.cgi?id=56695
      
              Make StructureChain GC allocated, and make the various owners
              mark it correctly.
      
              * JavaScriptCore.exp:
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::dump):
              (JSC::CodeBlock::derefStructures):
              (JSC::CodeBlock::refStructures):
              (JSC::CodeBlock::markAggregate):
              * bytecode/Instruction.h:
              (JSC::PolymorphicAccessStructureList::PolymorphicStubInfo::set):
              (JSC::PolymorphicAccessStructureList::PolymorphicAccessStructureList):
              (JSC::PolymorphicAccessStructureList::derefStructures):
              (JSC::PolymorphicAccessStructureList::markAggregate):
              (JSC::Instruction::Instruction):
              * bytecode/StructureStubInfo.cpp:
              (JSC::StructureStubInfo::deref):
              (JSC::StructureStubInfo::markAggregate):
              * bytecode/StructureStubInfo.h:
              (JSC::StructureStubInfo::initGetByIdChain):
              (JSC::StructureStubInfo::initPutByIdTransition):
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall):
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
              * collector/handles/Handle.h:
              (JSC::HandleConverter::operator->):
              (JSC::HandleConverter::operator*):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::privateExecute):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::emit_op_jneq_ptr):
              * jit/JITOpcodes32_64.cpp:
              (JSC::JIT::emit_op_jneq_ptr):
              * jit/JITPropertyAccess.cpp:
              (JSC::JIT::privateCompileGetByIdChainList):
              * jit/JITPropertyAccess32_64.cpp:
              (JSC::JIT::privateCompileGetByIdChainList):
              * jit/JITStubs.cpp:
              (JSC::JITThunks::tryCachePutByID):
              (JSC::JITThunks::tryCacheGetByID):
              (JSC::getPolymorphicAccessStructureListSlot):
              (JSC::DEFINE_STUB_FUNCTION):
              * runtime/JSCell.h:
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              * runtime/JSGlobalData.h:
              * runtime/JSGlobalObject.cpp:
              (JSC::markIfNeeded):
              * runtime/JSGlobalObject.h:
              (JSC::Structure::prototypeChain):
              * runtime/JSObject.h:
              (JSC::JSObject::putDirectInternal):
              (JSC::JSObject::markChildrenDirect):
              * runtime/JSPropertyNameIterator.cpp:
              (JSC::JSPropertyNameIterator::create):
              (JSC::JSPropertyNameIterator::get):
              (JSC::JSPropertyNameIterator::markChildren):
              * runtime/JSPropertyNameIterator.h:
              (JSC::JSPropertyNameIterator::setCachedPrototypeChain):
              * runtime/JSZombie.cpp:
              (JSC::JSZombie::leakedZombieStructure):
              * runtime/JSZombie.h:
              * runtime/MarkStack.h:
              (JSC::MarkStack::append):
              * runtime/MarkedBlock.cpp:
              (JSC::MarkedBlock::sweep):
              * runtime/Structure.cpp:
              (JSC::Structure::addPropertyTransition):
              * runtime/Structure.h:
              (JSC::Structure::markAggregate):
              * runtime/StructureChain.cpp:
              (JSC::StructureChain::StructureChain):
              (JSC::StructureChain::~StructureChain):
              (JSC::StructureChain::markChildren):
              * runtime/StructureChain.h:
              (JSC::StructureChain::create):
              (JSC::StructureChain::createStructure):
              * runtime/WriteBarrier.h:
              (JSC::WriteBarrierBase::get):
              (JSC::WriteBarrierBase::operator*):
              (JSC::WriteBarrierBase::operator->):
      2011-04-01  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Geoffrey Garen.
      
              Make StructureChain GC allocated
              https://bugs.webkit.org/show_bug.cgi?id=56695
      
              Update for new Structure marking function
      
              * bindings/js/JSDOMGlobalObject.cpp:
              (WebCore::JSDOMGlobalObject::markChildren):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59144210
  2. 01 Apr, 2011 3 commits
  3. 31 Mar, 2011 1 commit
  4. 30 Mar, 2011 10 commits
    • aroben@apple.com's avatar
      Clean build fix · d6cea60f
      aroben@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore.sln: Serialized project dependencies so projects
      don't try to build in parallel (which doesn't mesh with our buildfailed mechanism).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6cea60f
    • oliver@apple.com's avatar
      Rollout r82500 · 9d5d1b0f
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d5d1b0f
    • mdelaney@apple.com's avatar
      2011-03-29 Matthew Delaney <mdelaney@apple.com> · 9f35efbb
      mdelaney@apple.com authored
              Reviewed by Simon Fraser.
      
              Use the Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG
      
              https://bugs.webkit.org/show_bug.cgi?id=53134
      
              * wtf/Platform.h: Added in WTF flag for using the Accelerate framework
      2011-03-29  Matthew Delaney  <mdelaney@apple.com>
      
              Reviewed by Simon Fraser.
      
              Use the Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG
      
              https://bugs.webkit.org/show_bug.cgi?id=53134
      
              Test: fast/canvas/getPutImageDataPairTest.html
      
              * platform/graphics/cg/ImageBufferCG.cpp:
      2011-03-25  Matthew Delaney  <mdelaney@apple.com>
      
              Reviewed by Simon Fraser.
      
              Use Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG.cpp
              https://bugs.webkit.org/show_bug.cgi?id=53134
      
              * fast/canvas/canvas-getImageData-expected.txt: Resetting expected results for this test due to test change.
              * fast/canvas/canvas-getImageData.html: Removed the section of this test that incorrectly assumes the 
                rounding behavior of initial inputed data.
              * fast/canvas/getPutImageDataPairTest-expected.txt: Added.
              * fast/canvas/getPutImageDataPairTest.html: A new test to make sure that a batch of paired putImageData(getImageData)
                calls doesn't accumulate any error per the spec.
              * fast/canvas/rgba-parsing-expected.txt: Reset the results for this test since the initial rgba rounding values are
                now different. Note: the spec does not define how they *should* be rounded, so having them there is basically just
                for bookkeeping to know when our rounding behavior changes since it could be early warning of related real issues.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f35efbb
    • sfalken@apple.com's avatar
      Share most vsprops between Release and Production builds in releaseproduction.vsprops · 1d1fbc3e
      sfalken@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57508
      
      Reviewed by Adam Roben.
      
      Source/JavaScriptCore: 
      
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreProduction.vsprops:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreRelease.vsprops:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseCairoCFLite.vsprops:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGO.vsprops:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGOOptimize.vsprops:
      * JavaScriptCore.vcproj/WTF/WTFProduction.vsprops:
      * JavaScriptCore.vcproj/WTF/WTFRelease.vsprops:
      * JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops:
      * JavaScriptCore.vcproj/WTF/WTFReleasePGO.vsprops:
      * JavaScriptCore.vcproj/jsc/jscProduction.vsprops:
      * JavaScriptCore.vcproj/jsc/jscRelease.vsprops:
      * JavaScriptCore.vcproj/jsc/jscReleaseCairoCFLite.vsprops:
      * JavaScriptCore.vcproj/jsc/jscReleasePGO.vsprops:
      * JavaScriptCore.vcproj/testapi/testapiProduction.vsprops:
      * JavaScriptCore.vcproj/testapi/testapiRelease.vsprops:
      * JavaScriptCore.vcproj/testapi/testapiReleaseCairoCFLite.vsprops:
      
      Source/WebCore: 
      
      * WebCore.vcproj/QTMovieWinProduction.vsprops:
      * WebCore.vcproj/QTMovieWinRelease.vsprops:
      * WebCore.vcproj/QTMovieWinReleaseCairoCFLite.vsprops:
      * WebCore.vcproj/WebCoreProduction.vsprops:
      * WebCore.vcproj/WebCoreRelease.vsprops:
      * WebCore.vcproj/WebCoreReleaseCairoCFLite.vsprops:
      
      Source/WebKit/win: 
      
      * WebKit.vcproj/InterfacesProduction.vsprops:
      * WebKit.vcproj/InterfacesRelease.vsprops:
      * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
      * WebKit.vcproj/WebKitGUIDProduction.vsprops:
      * WebKit.vcproj/WebKitGUIDRelease.vsprops:
      * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
      * WebKit.vcproj/WebKitLibProduction.vsprops:
      * WebKit.vcproj/WebKitLibRelease.vsprops:
      * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
      
      Source/WebKit2: 
      
      * win/WebKit2Production.vsprops:
      * win/WebKit2Release.vsprops:
      * win/WebKit2ReleaseCairoCFLite.vsprops:
      * win/WebKit2WebProcessProduction.vsprops:
      * win/WebKit2WebProcessRelease.vsprops:
      * win/WebKit2WebProcessReleaseCairoCFLite.vsprops:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d1fbc3e
    • mrowe@apple.com's avatar
      Explicitly prevent testapi and minidom from being installed rather than relying · 85db1011
      mrowe@apple.com authored
      on Xcode's current behavior of not installing if INSTALL_PATH is not explicitly
      set at the target level.
      
      Reviewed by Adam Roben.
      
      <rdar://problem/9206357>
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85db1011
    • levin@chromium.org's avatar
      Add some dynamic annotations to JavaScriptCore/wtf · fa5e6724
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53747
      
      Patch by Timur Iskhodzhanov <timurrrr@google.com> on 2011-03-30
      Reviewed by Alexey Proskuryakov.
      
      By using these annotations we can improve the precision of finding
      WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
      These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".
      
      These files don't add new functionality, so don't need extra tests.
      
      Source/JavaScriptCore:
      
      * GNUmakefile.am:
      * JavaScriptCore.gypi:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * wtf/CMakeLists.txt:
      * wtf/DynamicAnnotations.cpp: Added.
      (WTFAnnotateBenignRaceSized):
      (WTFAnnotateHappensBefore):
      (WTFAnnotateHappensAfter):
      * wtf/DynamicAnnotations.h: Added.
      * wtf/ThreadSafeRefCounted.h:
      (WTF::ThreadSafeRefCountedBase::derefBase):
      * wtf/text/StringStatics.cpp:
      (WTF::StringImpl::empty):
      
      Source/JavaScriptGlue:
      
      * ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
      
      Source/WebCore:
      
      * ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
      
      Tools:
      
      * DumpRenderTree/ForwardingHeaders/wtf/DynamicAnnotations.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa5e6724
    • oliver@apple.com's avatar
      2011-03-30 Oliver Hunt <oliver@apple.com> · 887a036f
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Make StructureChain GC allocated
              https://bugs.webkit.org/show_bug.cgi?id=56695
      
              Make StructureChain GC allocated, and make the various owners
              mark it correctly.
      
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::dump):
              (JSC::CodeBlock::derefStructures):
              (JSC::CodeBlock::refStructures):
              (JSC::CodeBlock::markAggregate):
              * bytecode/Instruction.h:
              (JSC::PolymorphicAccessStructureList::PolymorphicStubInfo::set):
              (JSC::PolymorphicAccessStructureList::PolymorphicAccessStructureList):
              (JSC::PolymorphicAccessStructureList::derefStructures):
              (JSC::PolymorphicAccessStructureList::markAggregate):
              (JSC::Instruction::Instruction):
              * bytecode/StructureStubInfo.cpp:
              (JSC::StructureStubInfo::deref):
              (JSC::StructureStubInfo::markAggregate):
              * bytecode/StructureStubInfo.h:
              (JSC::StructureStubInfo::initGetByIdChain):
              (JSC::StructureStubInfo::initPutByIdTransition):
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall):
              (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::privateExecute):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::emit_op_jneq_ptr):
              * jit/JITOpcodes32_64.cpp:
              (JSC::JIT::emit_op_jneq_ptr):
              * jit/JITPropertyAccess.cpp:
              (JSC::JIT::privateCompileGetByIdChainList):
              * jit/JITPropertyAccess32_64.cpp:
              (JSC::JIT::privateCompileGetByIdChainList):
              * jit/JITStubs.cpp:
              (JSC::getPolymorphicAccessStructureListSlot):
              (JSC::DEFINE_STUB_FUNCTION):
              * runtime/JSCell.h:
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              * runtime/JSGlobalData.h:
              * runtime/JSGlobalObject.cpp:
              (JSC::markIfNeeded):
              * runtime/JSGlobalObject.h:
              (JSC::Structure::prototypeChain):
              * runtime/JSObject.h:
              (JSC::JSObject::markChildrenDirect):
              * runtime/JSPropertyNameIterator.cpp:
              (JSC::JSPropertyNameIterator::create):
              (JSC::JSPropertyNameIterator::get):
              (JSC::JSPropertyNameIterator::markChildren):
              * runtime/JSPropertyNameIterator.h:
              (JSC::JSPropertyNameIterator::setCachedPrototypeChain):
              * runtime/MarkStack.h:
              (JSC::MarkStack::append):
              * runtime/Structure.h:
              (JSC::Structure::cachedPrototypeChainSlot):
              * runtime/StructureChain.cpp:
              (JSC::StructureChain::StructureChain):
              * runtime/StructureChain.h:
              (JSC::StructureChain::create):
              (JSC::StructureChain::createStructure):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      887a036f
    • sfalken@apple.com's avatar
      2011-03-30 Steve Falkenburg <sfalken@apple.com> · 788e4820
      sfalken@apple.com authored
              Reviewed by Adam Roben.
      
              Update Windows production build logic for new production configurations
              https://bugs.webkit.org/show_bug.cgi?id=57494
      
              * win/tools/vsprops/common.vsprops:
              * win/tools/vsprops/production.vsprops: Added.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Update Windows production build logic for new production configurations
              https://bugs.webkit.org/show_bug.cgi?id=57494
      
              * JavaScriptCore.vcproj/JavaScriptCore.make:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreProduction.vsprops:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGO.vsprops:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGOOptimize.vsprops:
              * JavaScriptCore.vcproj/WTF/WTFProduction.vsprops:
              * JavaScriptCore.vcproj/WTF/WTFReleasePGO.vsprops:
              * JavaScriptCore.vcproj/jsc/jscProduction.vsprops:
              * JavaScriptCore.vcproj/jsc/jscReleasePGO.vsprops:
              * JavaScriptCore.vcproj/testapi/testapiProduction.vsprops:
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Update Windows production build logic for new production configurations
              https://bugs.webkit.org/show_bug.cgi?id=57494
      
              * WebKit.vcproj/InterfacesProduction.vsprops:
              * WebKit.vcproj/WebKit.make:
              * WebKit.vcproj/WebKitGUIDProduction.vsprops:
              * WebKit.vcproj/WebKitLibProduction.vsprops:
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Update Windows production build logic for new production configurations
              https://bugs.webkit.org/show_bug.cgi?id=57494
      
              * WebCore.vcproj/QTMovieWinProduction.vsprops:
              * WebCore.vcproj/WebCore.make:
              * WebCore.vcproj/WebCoreProduction.vsprops:
      2011-03-30  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Brady Eidson.
      
              WebKit2: Attempting to view css file from url causes it to download
              <rdar://problem/9102611>
              https://bugs.webkit.org/show_bug.cgi?id=57501
      
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::canShowMIMEType):
              Match WebKit1 by allowing any MIME type that starts with "text/"
              except the ones we explicitly blacklist.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Update Windows production build logic for new production configurations
              https://bugs.webkit.org/show_bug.cgi?id=57494
      
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops:
              * DumpRenderTree/win/DumpRenderTreeProduction.vsprops:
              * DumpRenderTree/win/ImageDiffProduction.vsprops:
              * FindSafari/FindSafariProduction.vsprops:
              * FindSafari/FindSafariReleasePGO.vsprops:
              * MiniBrowser/Configurations/MiniBrowserProduction.vsprops:
              * WebKitAPITest/WebKitAPITestProduction.vsprops:
              * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops:
              * WebKitTestRunner/win/InjectedBundleProduction.vsprops:
              * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops:
              * WinLauncher/WinLauncherProduction.vsprops:
              * record-memory-win/record-memory-winProduction.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      788e4820
    • sfalken@apple.com's avatar
      2011-03-30 Steve Falkenburg <sfalken@apple.com> · 7a4bd0a7
      sfalken@apple.com authored
              Reviewed by Adam Roben.
      
              Rename Windows configuration Release_LTCG to Production for clarity
              https://bugs.webkit.org/show_bug.cgi?id=57465
      
              * JavaScriptCore.vcproj/JavaScriptCore.sln:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseLTCG.vsprops.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseLTCG.vsprops: Removed.
              * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/WTF/WTFProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFReleaseLTCG.vsprops.
              * JavaScriptCore.vcproj/WTF/WTFReleaseLTCG.vsprops: Removed.
              * JavaScriptCore.vcproj/jsc/jsc.vcproj:
              * JavaScriptCore.vcproj/jsc/jscProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/jsc/jscReleaseLTCG.vsprops.
              * JavaScriptCore.vcproj/jsc/jscReleaseLTCG.vsprops: Removed.
              * JavaScriptCore.vcproj/testapi/testapi.vcproj:
              * JavaScriptCore.vcproj/testapi/testapiProduction.vsprops: Copied from Source/JavaScriptCore/JavaScriptCore.vcproj/testapi/testapiReleaseLTCG.vsprops.
              * JavaScriptCore.vcproj/testapi/testapiReleaseLTCG.vsprops: Removed.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Rename Windows configuration Release_LTCG to Production for clarity
              https://bugs.webkit.org/show_bug.cgi?id=57465
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
              * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
              * WebKit.vcproj/WebKit.sln:
              * WebKit.vcproj/WebKit.submit.sln:
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/WebKitGUID.vcproj:
              * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
              * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
              * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
              * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Rename Windows configuration Release_LTCG to Production for clarity
              https://bugs.webkit.org/show_bug.cgi?id=57465
      
              * WebCore.vcproj/QTMovieWin.vcproj:
              * WebCore.vcproj/QTMovieWinProduction.vsprops: Copied from Source/WebCore/WebCore.vcproj/QTMovieWinReleaseLTCG.vsprops.
              * WebCore.vcproj/QTMovieWinReleaseLTCG.vsprops: Removed.
              * WebCore.vcproj/WebCore.sln:
              * WebCore.vcproj/WebCore.submit.sln:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/WebCoreGenerated.vcproj:
              * WebCore.vcproj/WebCoreProduction.vsprops: Copied from Source/WebCore/WebCore.vcproj/WebCoreReleaseLTCG.vsprops.
              * WebCore.vcproj/WebCoreReleaseLTCG.vsprops: Removed.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Rename Windows configuration Release_LTCG to Production for clarity
              https://bugs.webkit.org/show_bug.cgi?id=57465
      
              * win/WebKit2.submit.sln:
              * win/WebKit2.vcproj:
              * win/WebKit2Generated.vcproj:
              * win/WebKit2Production.vsprops: Copied from Source/WebKit2/win/WebKit2ReleaseLTCG.vsprops.
              * win/WebKit2ReleaseLTCG.vsprops: Removed.
              * win/WebKit2WebProcess.vcproj:
              * win/WebKit2WebProcessProduction.vsprops: Copied from Source/WebKit2/win/WebKit2WebProcessReleaseLTCG.vsprops.
              * win/WebKit2WebProcessReleaseLTCG.vsprops: Removed.
      2011-03-30  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Rename Windows configuration Release_LTCG to Production for clarity
              https://bugs.webkit.org/show_bug.cgi?id=57465
      
              * DumpRenderTree/DumpRenderTree.sln:
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginProduction.vsprops: Copied from Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops.
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginReleaseLTCG.vsprops: Removed.
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/DumpRenderTreeProduction.vsprops: Copied from Tools/DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops.
              * DumpRenderTree/win/DumpRenderTreeReleaseLTCG.vsprops: Removed.
              * DumpRenderTree/win/ImageDiff.vcproj:
              * DumpRenderTree/win/ImageDiffProduction.vsprops: Copied from Tools/DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops.
              * DumpRenderTree/win/ImageDiffReleaseLTCG.vsprops: Removed.
              * FindSafari/FindSafari.vcproj:
              * FindSafari/FindSafariProduction.vsprops: Copied from Tools/FindSafari/FindSafariReleaseLTCG.vsprops.
              * FindSafari/FindSafariReleaseLTCG.vsprops: Removed.
              * MiniBrowser/Configurations/MiniBrowserProduction.vsprops: Copied from Tools/MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops.
              * MiniBrowser/Configurations/MiniBrowserReleaseLTCG.vsprops: Removed.
              * MiniBrowser/MiniBrowser.vcproj:
              * Scripts/webkitdirs.pm:
              * TestWebKitAPI/win/TestWebKitAPI.sln:
              * TestWebKitAPI/win/TestWebKitAPI.vcproj:
              * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
              * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj:
              * WebKitAPITest/WebKitAPITest.vcproj:
              * WebKitAPITest/WebKitAPITestProduction.vsprops: Copied from Tools/WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops.
              * WebKitAPITest/WebKitAPITestReleaseLTCG.vsprops: Removed.
              * WebKitLauncherWin/WebKitLauncherWin.vcproj:
              * WebKitLauncherWin/WebKitLauncherWinProduction.vsprops: Copied from Tools/WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops.
              * WebKitLauncherWin/WebKitLauncherWinReleaseLTCG.vsprops: Removed.
              * WebKitTestRunner/WebKitTestRunner.sln:
              * WebKitTestRunner/win/InjectedBundle.vcproj:
              * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
              * WebKitTestRunner/win/InjectedBundleProduction.vsprops: Copied from Tools/WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops.
              * WebKitTestRunner/win/InjectedBundleReleaseLTCG.vsprops: Removed.
              * WebKitTestRunner/win/WebKitTestRunner.vcproj:
              * WebKitTestRunner/win/WebKitTestRunnerProduction.vsprops: Copied from Tools/WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops.
              * WebKitTestRunner/win/WebKitTestRunnerReleaseLTCG.vsprops: Removed.
              * WinLauncher/WinLauncher.vcproj:
              * WinLauncher/WinLauncherProduction.vsprops: Copied from Tools/WinLauncher/WinLauncherReleaseLTCG.vsprops.
              * WinLauncher/WinLauncherReleaseLTCG.vsprops: Removed.
              * record-memory-win/record-memory-win.vcproj:
              * record-memory-win/record-memory-winProduction.vsprops: Copied from Tools/record-memory-win/record-memory-winReleaseLTCG.vsprops.
              * record-memory-win/record-memory-winReleaseLTCG.vsprops: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a4bd0a7
    • commit-queue@webkit.org's avatar
      2011-03-30 Zoltan Herczeg <zherczeg@inf.u-szeged.hu> · 9e19611f
      commit-queue@webkit.org authored
              Reviewed by Maciej Stachowiak.
      
              Add the NEXT_OPCODE() macro to the DFG-JIT parser
              https://bugs.webkit.org/show_bug.cgi?id=57322
      
              In JavaScriptCore we use macros to jump to the next opcode
              (both in interpreter and JIT). This macro is added to the
              DFG-JIT parser as well.
      
              * dfg/DFGByteCodeParser.cpp:
              (JSC::DFG::ByteCodeParser::parse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e19611f
  5. 29 Mar, 2011 6 commits
    • ggaren@apple.com's avatar
      2011-03-29 Geoffrey Garen <ggaren@apple.com> · aa557ecc
      ggaren@apple.com authored
              Reviewed by Darin Adler.
      
              ~25% regression on v8-splay in the SunSpider harness
              https://bugs.webkit.org/show_bug.cgi?id=56128
              
              I'm not sure if this is the root cause of the regression Stephanie
              measured, but it seems to get us back to previous v8-splay times.
              
              SunSpider reports no change. v8-splay says 41% faster.
      
              * runtime/Heap.cpp:
              (JSC::Heap::reset): Make marking proportional to 1X the size of the heap,
              not .5X the size of the heap. When the heap is large, this makes a big
              difference. (Our old heap growth policy matched this. You can see by
              looking at resizeBlocks in revisions prior to r77699.)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa557ecc
    • sfalken@apple.com's avatar
      2011-03-29 Steve Falkenburg <sfalken@apple.com> · 078f58c9
      sfalken@apple.com authored
              Reviewed by Darin Adler.
      
              Use per-configuration vsprops in JavaScriptCore to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
              https://bugs.webkit.org/show_bug.cgi?id=57350
              
              Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
              InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
              the IDE. To avoid this, add a separate vsprops file for each project configuration that
              contains the required inherited property sheets.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreDebug.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreDebugAll.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreDebugCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreRelease.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseLTCG.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGO.vsprops: Added.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGOOptimize.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/WTF/WTFDebug.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFDebugAll.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFDebugCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFRelease.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFReleaseLTCG.vsprops: Added.
              * JavaScriptCore.vcproj/WTF/WTFReleasePGO.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jsc.vcproj:
              * JavaScriptCore.vcproj/jsc/jscDebug.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscDebugAll.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscDebugCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscRelease.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscReleaseCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscReleaseLTCG.vsprops: Added.
              * JavaScriptCore.vcproj/jsc/jscReleasePGO.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapi.vcproj:
              * JavaScriptCore.vcproj/testapi/testapiDebug.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapiDebugAll.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapiDebugCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapiRelease.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapiReleaseCairoCFLite.vsprops: Added.
              * JavaScriptCore.vcproj/testapi/testapiReleaseLTCG.vsprops: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      078f58c9
    • oliver@apple.com's avatar
      2011-03-29 Oliver Hunt <oliver@apple.com> · fff9222b
      oliver@apple.com authored
              Reviewed by Eric Seidel.
      
              REGRESSION(r82173): Causes assertion and test failures in run-javascriptcore-tests on Windows (Requested by aroben on #webkit).
              https://bugs.webkit.org/show_bug.cgi?id=57333
      
              constructDate now takes the global object explicitly as it may be called
              by functions other than the constructor itself.
      
              * API/JSObjectRef.cpp:
              (JSObjectMakeDate):
              * runtime/DateConstructor.cpp:
              (JSC::constructDate):
              (JSC::constructWithDateConstructor):
              * runtime/DateConstructor.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fff9222b
    • commit-queue@webkit.org's avatar
      2011-03-29 Ben Taylor <bentaylor.solx86@gmail.com> · e58c5b4a
      commit-queue@webkit.org authored
              Reviewed by Benjamin Poulain.
      
              https://bugs.webkit.org/show_bug.cgi?id=41953
      
              Fix compile error on Solaris 10/Sun Studio 12 CC emanating from MathExtras.h
      
              * wtf/MathExtras.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e58c5b4a
    • commit-queue@webkit.org's avatar
      2011-03-29 Ben Taylor <bentaylor.solx86@gmail.com> · 843b84ef
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=57231
              Add conditional for SUNCC supporting alignment macros
      
              Compile fix for Solaris 10/Sun Studio 12 CC
      
              * wtf/Vector.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      843b84ef
    • commit-queue@webkit.org's avatar
      2011-03-29 Ben Taylor <bentaylor.solx86@gmail.com> · 10db1787
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=57256
      
              Fix crash on misaligned reads on Solaris 10/Sparc
      
              * wtf/text/AtomicString.cpp:
              (WTF::equal):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10db1787
  6. 28 Mar, 2011 5 commits
    • oliver@apple.com's avatar
      2011-03-28 Oliver Hunt <oliver@apple.com> · 3b6dc575
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              instanceof Array test fails when using iframes
              https://bugs.webkit.org/show_bug.cgi?id=17250
      
              Add test cases for correct behaviour
      
              * fast/js/js-constructors-use-correct-global-expected.txt: Added.
              * fast/js/js-constructors-use-correct-global.html: Added.
              * fast/js/resources/js-constructors-use-correct-global.js: Added.
      2011-03-28  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Geoffrey Garen.
      
              instanceof Array test fails when using iframes
              https://bugs.webkit.org/show_bug.cgi?id=17250
      
              This is a problem with all built in constructors, the use of
              lexicalGlobalObject rather than the constructors own
              global object reference means that a builtin will always use
              the prototype from the lexical global object rather than that
              of the constructors origin.
      
              * API/JSObjectRef.cpp:
              (JSObjectMakeFunction):
              (JSObjectMakeRegExp):
              * JavaScriptCore.exp:
              * runtime/ArrayConstructor.cpp:
              (JSC::constructArrayWithSizeQuirk):
              * runtime/BooleanConstructor.cpp:
              (JSC::constructBoolean):
              (JSC::constructBooleanFromImmediateBoolean):
              * runtime/BooleanConstructor.h:
              * runtime/DateConstructor.cpp:
              (JSC::constructDate):
              * runtime/DateInstance.cpp:
              * runtime/DateInstance.h:
              * runtime/ErrorConstructor.cpp:
              (JSC::constructWithErrorConstructor):
              (JSC::callErrorConstructor):
              * runtime/FunctionConstructor.cpp:
              (JSC::constructWithFunctionConstructor):
              (JSC::callFunctionConstructor):
              (JSC::constructFunction):
              * runtime/FunctionConstructor.h:
              * runtime/JSCell.cpp:
              (JSC::JSCell::getOwnPropertySlot):
              (JSC::JSCell::put):
              (JSC::JSCell::deleteProperty):
              (JSC::JSCell::toThisObject):
              (JSC::JSCell::toObject):
              * runtime/JSCell.h:
              (JSC::JSCell::JSValue::toObject):
              * runtime/JSNotAnObject.cpp:
              (JSC::JSNotAnObject::toObject):
              * runtime/JSNotAnObject.h:
              * runtime/JSObject.cpp:
              (JSC::JSObject::toObject):
              * runtime/JSObject.h:
              * runtime/JSString.cpp:
              (JSC::StringObject::create):
              (JSC::JSString::toObject):
              (JSC::JSString::toThisObject):
              * runtime/JSString.h:
              * runtime/JSValue.cpp:
              (JSC::JSValue::toObjectSlowCase):
              (JSC::JSValue::toThisObjectSlowCase):
              (JSC::JSValue::synthesizeObject):
              * runtime/JSValue.h:
              * runtime/NumberConstructor.cpp:
              (JSC::constructWithNumberConstructor):
              * runtime/NumberObject.cpp:
              (JSC::constructNumber):
              * runtime/NumberObject.h:
              * runtime/ObjectConstructor.cpp:
              (JSC::constructObject):
              (JSC::constructWithObjectConstructor):
              (JSC::callObjectConstructor):
              * runtime/RegExpConstructor.cpp:
              (JSC::constructRegExp):
              (JSC::constructWithRegExpConstructor):
              (JSC::callRegExpConstructor):
              * runtime/RegExpConstructor.h:
              * runtime/StringConstructor.cpp:
              (JSC::constructWithStringConstructor):
              * runtime/StringObject.h:
      2011-03-25  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Geoffrey Garen.
      
              instanceof Array test fails when using iframes
              https://bugs.webkit.org/show_bug.cgi?id=17250
      
              Up date for new toObject api
      
              * UserObjectImp.cpp:
              (UserObjectImp::toPrimitive):
              (UserObjectImp::toBoolean):
              (UserObjectImp::toNumber):
              (UserObjectImp::toString):
      2011-03-28  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Geoffrey Garen.
      
              instanceof Array test fails when using iframes
              https://bugs.webkit.org/show_bug.cgi?id=17250
      
              Update for new function and date apis
      
              Test: fast/js/js-constructors-use-correct-global.html
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::jsDateOrNull):
              * bindings/js/JSLazyEventListener.cpp:
              (WebCore::JSLazyEventListener::initializeJSFunction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b6dc575
    • ggaren@apple.com's avatar
      2011-03-28 Geoffrey Garen <ggaren@apple.com> · a54a9660
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              REGRESSION [r78794-r79249] Allocation of memory is slow when number of active objects is large
              https://bugs.webkit.org/show_bug.cgi?id=56823
              
              Partial fix for most of the problem. (TOT still shows a regression, though.)
      
              * runtime/Heap.cpp:
              (JSC::Heap::reportExtraMemoryCostSlowCase): Use highWaterMark(), instead of
              capacity(), since capacity() is O(n) relative to the size of the heap.
      
              In limited circumstances, capacity() is also worse than highWaterMark()
              for measuring extra cost relative to heap size, since capacity() only
              measures the *current* capacity of the heap, but the heap will grow if
              necessary to attain highWaterMark().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a54a9660
    • oliver@apple.com's avatar
      REGRESSION(r82130): It made all tests crash (Requested by Ossy on #webkit). · 973eb063
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57251
      
      Build fix, had remnant of another patch in r82130
      
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::privateCompileGetByIdChainList):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      973eb063
    • oliver@apple.com's avatar
      2011-03-27 Oliver Hunt <oliver@apple.com> · be4e067b
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Add additional immediate types to allow us to distinguish the source of a JIT immediate
              https://bugs.webkit.org/show_bug.cgi?id=57190
      
              Allow us to distinguish whether a JIT immediate is a value that we
              control (TrustedImm32 and TrustedImmPtr) vs. ones that can be controlled
              or influenced by code we are compiling.  Currently we do nothing with this
              information -- this change is large and mechanical but would obscure any
              logic changes that we would have made.
      
              * assembler/AbstractMacroAssembler.h:
              (JSC::AbstractMacroAssembler::TrustedImmPtr::TrustedImmPtr):
              (JSC::AbstractMacroAssembler::ImmPtr::ImmPtr):
              (JSC::AbstractMacroAssembler::TrustedImm32::TrustedImm32):
              (JSC::AbstractMacroAssembler::Imm32::Imm32):
              * assembler/MacroAssembler.h:
              (JSC::MacroAssembler::pop):
              (JSC::MacroAssembler::poke):
              (JSC::MacroAssembler::branchPtr):
              (JSC::MacroAssembler::branch32):
              (JSC::MacroAssembler::addPtr):
              (JSC::MacroAssembler::andPtr):
              (JSC::MacroAssembler::orPtr):
              (JSC::MacroAssembler::subPtr):
              (JSC::MacroAssembler::xorPtr):
              (JSC::MacroAssembler::setPtr):
              (JSC::MacroAssembler::storePtr):
              (JSC::MacroAssembler::branchTestPtr):
              (JSC::MacroAssembler::branchSubPtr):
              (JSC::MacroAssembler::branchTest8):
              * assembler/MacroAssemblerARM.h:
              (JSC::MacroAssemblerARM::add32):
              (JSC::MacroAssemblerARM::and32):
              (JSC::MacroAssemblerARM::lshift32):
              (JSC::MacroAssemblerARM::mul32):
              (JSC::MacroAssemblerARM::or32):
              (JSC::MacroAssemblerARM::rshift32):
              (JSC::MacroAssemblerARM::urshift32):
              (JSC::MacroAssemblerARM::sub32):
              (JSC::MacroAssemblerARM::xor32):
              (JSC::MacroAssemblerARM::store32):
              (JSC::MacroAssemblerARM::push):
              (JSC::MacroAssemblerARM::move):
              (JSC::MacroAssemblerARM::branch8):
              (JSC::MacroAssemblerARM::branch32):
              (JSC::MacroAssemblerARM::branch32WithUnalignedHalfWords):
              (JSC::MacroAssemblerARM::branch16):
              (JSC::MacroAssemblerARM::branchTest8):
              (JSC::MacroAssemblerARM::branchTest32):
              (JSC::MacroAssemblerARM::branchAdd32):
              (JSC::MacroAssemblerARM::branchMul32):
              (JSC::MacroAssemblerARM::branchSub32):
              (JSC::MacroAssemblerARM::set32Compare32):
              (JSC::MacroAssemblerARM::set8Compare32):
              (JSC::MacroAssemblerARM::set32Test32):
              (JSC::MacroAssemblerARM::set32Test8):
              (JSC::MacroAssemblerARM::moveWithPatch):
              (JSC::MacroAssemblerARM::branchPtrWithPatch):
              (JSC::MacroAssemblerARM::storePtrWithPatch):
              * assembler/MacroAssemblerARMv7.h:
              (JSC::MacroAssemblerARMv7::add32):
              (JSC::MacroAssemblerARMv7::and32):
              (JSC::MacroAssemblerARMv7::lshift32):
              (JSC::MacroAssemblerARMv7::mul32):
              (JSC::MacroAssemblerARMv7::or32):
              (JSC::MacroAssemblerARMv7::rshift32):
              (JSC::MacroAssemblerARMv7::urshift32):
              (JSC::MacroAssemblerARMv7::sub32):
              (JSC::MacroAssemblerARMv7::xor32):
              (JSC::MacroAssemblerARMv7::load32):
              (JSC::MacroAssemblerARMv7::load32WithAddressOffsetPatch):
              (JSC::MacroAssemblerARMv7::load16):
              (JSC::MacroAssemblerARMv7::store32WithAddressOffsetPatch):
              (JSC::MacroAssemblerARMv7::store32):
              (JSC::MacroAssemblerARMv7::loadDouble):
              (JSC::MacroAssemblerARMv7::storeDouble):
              (JSC::MacroAssemblerARMv7::push):
              (JSC::MacroAssemblerARMv7::move):
              (JSC::MacroAssemblerARMv7::compare32):
              (JSC::MacroAssemblerARMv7::test32):
              (JSC::MacroAssemblerARMv7::branch32):
              (JSC::MacroAssemblerARMv7::branch32WithUnalignedHalfWords):
              (JSC::MacroAssemblerARMv7::branch16):
              (JSC::MacroAssemblerARMv7::branch8):
              (JSC::MacroAssemblerARMv7::branchTest32):
              (JSC::MacroAssemblerARMv7::branchTest8):
              (JSC::MacroAssemblerARMv7::branchAdd32):
              (JSC::MacroAssemblerARMv7::branchMul32):
              (JSC::MacroAssemblerARMv7::branchSub32):
              (JSC::MacroAssemblerARMv7::nearCall):
              (JSC::MacroAssemblerARMv7::call):
              (JSC::MacroAssemblerARMv7::set32Compare32):
              (JSC::MacroAssemblerARMv7::set8Compare32):
              (JSC::MacroAssemblerARMv7::set32Test32):
              (JSC::MacroAssemblerARMv7::set32Test8):
              (JSC::MacroAssemblerARMv7::moveWithPatch):
              (JSC::MacroAssemblerARMv7::branchPtrWithPatch):
              (JSC::MacroAssemblerARMv7::storePtrWithPatch):
              (JSC::MacroAssemblerARMv7::tailRecursiveCall):
              (JSC::MacroAssemblerARMv7::makeJump):
              (JSC::MacroAssemblerARMv7::makeBranch):
              (JSC::MacroAssemblerARMv7::setupArmAddress):
              (JSC::MacroAssemblerARMv7::makeBaseIndexBase):
              (JSC::MacroAssemblerARMv7::moveFixedWidthEncoding):
              * assembler/MacroAssemblerMIPS.h:
              (JSC::MacroAssemblerMIPS::add32):
              (JSC::MacroAssemblerMIPS::and32):
              (JSC::MacroAssemblerMIPS::lshift32):
              (JSC::MacroAssemblerMIPS::mul32):
              (JSC::MacroAssemblerMIPS::or32):
              (JSC::MacroAssemblerMIPS::rshift32):
              (JSC::MacroAssemblerMIPS::urshift32):
              (JSC::MacroAssemblerMIPS::sub32):
              (JSC::MacroAssemblerMIPS::xor32):
              (JSC::MacroAssemblerMIPS::load32):
              (JSC::MacroAssemblerMIPS::load32WithAddressOffsetPatch):
              (JSC::MacroAssemblerMIPS::store32WithAddressOffsetPatch):
              (JSC::MacroAssemblerMIPS::store32):
              (JSC::MacroAssemblerMIPS::push):
              (JSC::MacroAssemblerMIPS::move):
              (JSC::MacroAssemblerMIPS::branch8):
              (JSC::MacroAssemblerMIPS::branch32):
              (JSC::MacroAssemblerMIPS::branch32WithUnalignedHalfWords):
              (JSC::MacroAssemblerMIPS::branch16):
              (JSC::MacroAssemblerMIPS::branchTest32):
              (JSC::MacroAssemblerMIPS::branchTest8):
              (JSC::MacroAssemblerMIPS::branchAdd32):
              (JSC::MacroAssemblerMIPS::branchMul32):
              (JSC::MacroAssemblerMIPS::branchSub32):
              (JSC::MacroAssemblerMIPS::set8Compare32):
              (JSC::MacroAssemblerMIPS::set32Compare32):
              (JSC::MacroAssemblerMIPS::set32Test8):
              (JSC::MacroAssemblerMIPS::set32Test32):
              (JSC::MacroAssemblerMIPS::moveWithPatch):
              (JSC::MacroAssemblerMIPS::branchPtrWithPatch):
              (JSC::MacroAssemblerMIPS::storePtrWithPatch):
              (JSC::MacroAssemblerMIPS::tailRecursiveCall):
              (JSC::MacroAssemblerMIPS::loadDouble):
              (JSC::MacroAssemblerMIPS::storeDouble):
              (JSC::MacroAssemblerMIPS::branchTruncateDoubleToInt32):
              * assembler/MacroAssemblerX86.h:
              (JSC::MacroAssemblerX86::add32):
              (JSC::MacroAssemblerX86::addWithCarry32):
              (JSC::MacroAssemblerX86::and32):
              (JSC::MacroAssemblerX86::or32):
              (JSC::MacroAssemblerX86::sub32):
              (JSC::MacroAssemblerX86::store32):
              (JSC::MacroAssemblerX86::branch32):
              (JSC::MacroAssemblerX86::moveWithPatch):
              (JSC::MacroAssemblerX86::branchPtrWithPatch):
              (JSC::MacroAssemblerX86::storePtrWithPatch):
              * assembler/MacroAssemblerX86Common.h:
              (JSC::MacroAssemblerX86Common::add32):
              (JSC::MacroAssemblerX86Common::and32):
              (JSC::MacroAssemblerX86Common::lshift32):
              (JSC::MacroAssemblerX86Common::mul32):
              (JSC::MacroAssemblerX86Common::or32):
              (JSC::MacroAssemblerX86Common::rshift32):
              (JSC::MacroAssemblerX86Common::urshift32):
              (JSC::MacroAssemblerX86Common::sub32):
              (JSC::MacroAssemblerX86Common::xor32):
              (JSC::MacroAssemblerX86Common::store32):
              (JSC::MacroAssemblerX86Common::branchTruncateDoubleToInt32):
              (JSC::MacroAssemblerX86Common::push):
              (JSC::MacroAssemblerX86Common::move):
              (JSC::MacroAssemblerX86Common::branch8):
              (JSC::MacroAssemblerX86Common::branch32):
              (JSC::MacroAssemblerX86Common::branch32WithUnalignedHalfWords):
              (JSC::MacroAssemblerX86Common::branch16):
              (JSC::MacroAssemblerX86Common::branchTest32):
              (JSC::MacroAssemblerX86Common::branchTest8):
              (JSC::MacroAssemblerX86Common::branchAdd32):
              (JSC::MacroAssemblerX86Common::branchMul32):
              (JSC::MacroAssemblerX86Common::branchSub32):
              (JSC::MacroAssemblerX86Common::set8Compare32):
              (JSC::MacroAssemblerX86Common::set32Compare32):
              (JSC::MacroAssemblerX86Common::set32Test8):
              (JSC::MacroAssemblerX86Common::set32Test32):
              * assembler/MacroAssemblerX86_64.h:
              (JSC::MacroAssemblerX86_64::add32):
              (JSC::MacroAssemblerX86_64::and32):
              (JSC::MacroAssemblerX86_64::or32):
              (JSC::MacroAssemblerX86_64::sub32):
              (JSC::MacroAssemblerX86_64::loadDouble):
              (JSC::MacroAssemblerX86_64::addDouble):
              (JSC::MacroAssemblerX86_64::convertInt32ToDouble):
              (JSC::MacroAssemblerX86_64::store32):
              (JSC::MacroAssemblerX86_64::call):
              (JSC::MacroAssemblerX86_64::tailRecursiveCall):
              (JSC::MacroAssemblerX86_64::makeTailRecursiveCall):
              (JSC::MacroAssemblerX86_64::addPtr):
              (JSC::MacroAssemblerX86_64::andPtr):
              (JSC::MacroAssemblerX86_64::orPtr):
              (JSC::MacroAssemblerX86_64::subPtr):
              (JSC::MacroAssemblerX86_64::xorPtr):
              (JSC::MacroAssemblerX86_64::storePtr):
              (JSC::MacroAssemblerX86_64::setPtr):
              (JSC::MacroAssemblerX86_64::branchPtr):
              (JSC::MacroAssemblerX86_64::branchTestPtr):
              (JSC::MacroAssemblerX86_64::branchSubPtr):
              (JSC::MacroAssemblerX86_64::moveWithPatch):
              (JSC::MacroAssemblerX86_64::branchPtrWithPatch):
              (JSC::MacroAssemblerX86_64::storePtrWithPatch):
              (JSC::MacroAssemblerX86_64::branchTest8):
              * dfg/DFGJITCodeGenerator.h:
              (JSC::DFG::JITCodeGenerator::callOperation):
              * dfg/DFGJITCompiler.cpp:
              (JSC::DFG::JITCompiler::jitAssertIsInt32):
              (JSC::DFG::JITCompiler::emitCount):
              * dfg/DFGJITCompiler.h:
              (JSC::DFG::JITCompiler::emitPutImmediateToCallFrameHeader):
              * dfg/DFGNonSpeculativeJIT.cpp:
              (JSC::DFG::NonSpeculativeJIT::compile):
              * dfg/DFGSpeculativeJIT.cpp:
              (JSC::DFG::SpeculativeJIT::fillSpeculateCell):
              (JSC::DFG::SpeculativeJIT::compile):
              * jit/JIT.cpp:
              (JSC::JIT::emitTimeoutCheck):
              (JSC::JIT::privateCompile):
              * jit/JIT.h:
              * jit/JITArithmetic.cpp:
              (JSC::JIT::emit_op_urshift):
              (JSC::JIT::emitSlow_op_urshift):
              (JSC::JIT::emit_op_post_inc):
              (JSC::JIT::emit_op_post_dec):
              (JSC::JIT::emit_op_pre_inc):
              (JSC::JIT::emit_op_pre_dec):
              (JSC::JIT::emit_op_mod):
              * jit/JITArithmetic32_64.cpp:
              (JSC::JIT::emit_op_negate):
              (JSC::JIT::emit_op_jnless):
              (JSC::JIT::emit_op_jless):
              (JSC::JIT::emit_op_jlesseq):
              (JSC::JIT::emit_op_lshift):
              (JSC::JIT::emitRightShift):
              (JSC::JIT::emitRightShiftSlowCase):
              (JSC::JIT::emit_op_bitand):
              (JSC::JIT::emit_op_bitor):
              (JSC::JIT::emit_op_bitxor):
              (JSC::JIT::emit_op_bitnot):
              (JSC::JIT::emit_op_post_inc):
              (JSC::JIT::emit_op_post_dec):
              (JSC::JIT::emitSlow_op_post_dec):
              (JSC::JIT::emit_op_pre_inc):
              (JSC::JIT::emit_op_pre_dec):
              (JSC::JIT::emit_op_add):
              (JSC::JIT::emitAdd32Constant):
              (JSC::JIT::emit_op_sub):
              (JSC::JIT::emitSub32Constant):
              (JSC::JIT::emitBinaryDoubleOp):
              (JSC::JIT::emit_op_mul):
              (JSC::JIT::emitSlow_op_mul):
              (JSC::JIT::emit_op_div):
              (JSC::JIT::emit_op_mod):
              * jit/JITCall.cpp:
              (JSC::JIT::compileOpCallVarargs):
              (JSC::JIT::compileOpCall):
              (JSC::JIT::compileOpCallSlowCase):
              * jit/JITCall32_64.cpp:
              (JSC::JIT::compileOpCallVarargs):
              (JSC::JIT::emit_op_ret_object_or_this):
              (JSC::JIT::compileOpCall):
              (JSC::JIT::compileOpCallSlowCase):
              * jit/JITInlineMethods.h:
              (JSC::JIT::emitPutCellToCallFrameHeader):
              (JSC::JIT::emitPutIntToCallFrameHeader):
              (JSC::JIT::emitPutImmediateToCallFrameHeader):
              (JSC::JIT::emitLoadCharacterString):
              (JSC::JIT::restoreArgumentReferenceForTrampoline):
              (JSC::JIT::checkStructure):
              (JSC::JIT::setSamplingFlag):
              (JSC::JIT::clearSamplingFlag):
              (JSC::JIT::emitCount):
              (JSC::JIT::sampleInstruction):
              (JSC::JIT::sampleCodeBlock):
              (JSC::JIT::emitStoreInt32):
              (JSC::JIT::emitStoreCell):
              (JSC::JIT::emitStoreBool):
              (JSC::JIT::emitJumpSlowCaseIfNotJSCell):
              (JSC::JIT::emitInitRegister):
              (JSC::JIT::emitJumpIfJSCell):
              (JSC::JIT::emitJumpIfNotJSCell):
              (JSC::JIT::emitJumpIfImmediateInteger):
              (JSC::JIT::emitJumpIfNotImmediateInteger):
              (JSC::JIT::emitFastArithDeTagImmediate):
              (JSC::JIT::emitFastArithDeTagImmediateJumpIfZero):
              (JSC::JIT::emitFastArithReTagImmediate):
              (JSC::JIT::emitTagAsBoolImmediate):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::privateCompileCTINativeCall):
              (JSC::JIT::emit_op_check_has_instance):
              (JSC::JIT::emit_op_instanceof):
              (JSC::JIT::emit_op_ret_object_or_this):
              (JSC::JIT::emit_op_resolve):
              (JSC::JIT::emit_op_to_primitive):
              (JSC::JIT::emit_op_resolve_base):
              (JSC::JIT::emit_op_ensure_property_exists):
              (JSC::JIT::emit_op_resolve_skip):
              (JSC::JIT::emit_op_resolve_global):
              (JSC::JIT::emitSlow_op_resolve_global):
              (JSC::JIT::emit_op_not):
              (JSC::JIT::emit_op_jfalse):
              (JSC::JIT::emit_op_jeq_null):
              (JSC::JIT::emit_op_jneq_null):
              (JSC::JIT::emit_op_jneq_ptr):
              (JSC::JIT::emit_op_jsr):
              (JSC::JIT::emit_op_resolve_with_base):
              (JSC::JIT::emit_op_new_func_exp):
              (JSC::JIT::emit_op_jtrue):
              (JSC::JIT::emit_op_get_pnames):
              (JSC::JIT::emit_op_next_pname):
              (JSC::JIT::emit_op_to_jsnumber):
              (JSC::JIT::emit_op_push_new_scope):
              (JSC::JIT::emit_op_catch):
              (JSC::JIT::emit_op_eq_null):
              (JSC::JIT::emit_op_neq_null):
              (JSC::JIT::emit_op_init_lazy_reg):
              (JSC::JIT::emit_op_convert_this):
              (JSC::JIT::emit_op_convert_this_strict):
              (JSC::JIT::emitSlow_op_not):
              (JSC::JIT::emitSlow_op_neq):
              (JSC::JIT::emit_op_get_arguments_length):
              (JSC::JIT::emitSlow_op_get_arguments_length):
              (JSC::JIT::emit_op_get_argument_by_val):
              (JSC::JIT::emitSlow_op_resolve_global_dynamic):
              (JSC::JIT::emit_op_new_regexp):
              (JSC::JIT::emit_op_load_varargs):
              (JSC::JIT::emitSlow_op_load_varargs):
              (JSC::JIT::emit_op_new_func):
              * jit/JITOpcodes32_64.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::privateCompileCTINativeCall):
              (JSC::JIT::emit_op_loop_if_lesseq):
              (JSC::JIT::emit_op_check_has_instance):
              (JSC::JIT::emit_op_instanceof):
              (JSC::JIT::emit_op_get_scoped_var):
              (JSC::JIT::emit_op_put_scoped_var):
              (JSC::JIT::emit_op_tear_off_activation):
              (JSC::JIT::emit_op_tear_off_arguments):
              (JSC::JIT::emit_op_resolve):
              (JSC::JIT::emit_op_to_primitive):
              (JSC::JIT::emit_op_resolve_base):
              (JSC::JIT::emit_op_ensure_property_exists):
              (JSC::JIT::emit_op_resolve_skip):
              (JSC::JIT::emit_op_resolve_global):
              (JSC::JIT::emitSlow_op_resolve_global):
              (JSC::JIT::emit_op_not):
              (JSC::JIT::emit_op_jfalse):
              (JSC::JIT::emit_op_jtrue):
              (JSC::JIT::emit_op_jeq_null):
              (JSC::JIT::emit_op_jneq_null):
              (JSC::JIT::emit_op_jneq_ptr):
              (JSC::JIT::emit_op_jsr):
              (JSC::JIT::emit_op_eq):
              (JSC::JIT::emitSlow_op_eq):
              (JSC::JIT::emit_op_neq):
              (JSC::JIT::emitSlow_op_neq):
              (JSC::JIT::compileOpStrictEq):
              (JSC::JIT::emit_op_eq_null):
              (JSC::JIT::emit_op_neq_null):
              (JSC::JIT::emit_op_resolve_with_base):
              (JSC::JIT::emit_op_new_func_exp):
              (JSC::JIT::emit_op_get_pnames):
              (JSC::JIT::emit_op_next_pname):
              (JSC::JIT::emit_op_to_jsnumber):
              (JSC::JIT::emit_op_push_new_scope):
              (JSC::JIT::emit_op_catch):
              (JSC::JIT::emit_op_create_activation):
              (JSC::JIT::emit_op_create_arguments):
              (JSC::JIT::emit_op_convert_this):
              (JSC::JIT::emit_op_convert_this_strict):
              (JSC::JIT::emit_op_get_arguments_length):
              (JSC::JIT::emitSlow_op_get_arguments_length):
              (JSC::JIT::emit_op_get_argument_by_val):
              (JSC::JIT::softModulo):
              * jit/JITPropertyAccess.cpp:
              (JSC::JIT::stringGetByValStubGenerator):
              (JSC::JIT::emit_op_get_by_val):
              (JSC::JIT::emitSlow_op_get_by_val):
              (JSC::JIT::emit_op_get_by_pname):
              (JSC::JIT::emit_op_put_by_val):
              (JSC::JIT::emit_op_put_by_index):
              (JSC::JIT::emit_op_put_getter):
              (JSC::JIT::emit_op_put_setter):
              (JSC::JIT::emit_op_del_by_id):
              (JSC::JIT::emit_op_get_by_id):
              (JSC::JIT::emit_op_put_by_id):
              (JSC::JIT::emit_op_method_check):
              (JSC::JIT::compileGetByIdHotPath):
              (JSC::JIT::compileGetByIdSlowCase):
              (JSC::JIT::emitSlow_op_put_by_id):
              (JSC::JIT::testPrototype):
              (JSC::JIT::privateCompilePutByIdTransition):
              (JSC::JIT::privateCompilePatchGetArrayLength):
              (JSC::JIT::privateCompileGetByIdProto):
              (JSC::JIT::privateCompileGetByIdSelfList):
              (JSC::JIT::privateCompileGetByIdProtoList):
              (JSC::JIT::privateCompileGetByIdChainList):
              (JSC::JIT::privateCompileGetByIdChain):
              * jit/JITPropertyAccess32_64.cpp:
              (JSC::JIT::emit_op_put_getter):
              (JSC::JIT::emit_op_put_setter):
              (JSC::JIT::emit_op_del_by_id):
              (JSC::JIT::emit_op_get_by_id):
              (JSC::JIT::emit_op_put_by_id):
              (JSC::JIT::emit_op_method_check):
              (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::compileGetByIdHotPath):
              (JSC::JIT::compileGetByIdSlowCase):
              (JSC::JIT::emitSlow_op_put_by_id):
              (JSC::JIT::testPrototype):
              (JSC::JIT::privateCompilePutByIdTransition):
              (JSC::JIT::privateCompilePatchGetArrayLength):
              (JSC::JIT::privateCompileGetByIdProto):
              (JSC::JIT::privateCompileGetByIdSelfList):
              (JSC::JIT::privateCompileGetByIdProtoList):
              (JSC::JIT::privateCompileGetByIdChainList):
              (JSC::JIT::privateCompileGetByIdChain):
              (JSC::JIT::emit_op_get_by_pname):
              * jit/JITStubCall.h:
              (JSC::JITStubCall::addArgument):
              * jit/JITStubs.cpp:
              (JSC::getPolymorphicAccessStructureListSlot):
              (JSC::DEFINE_STUB_FUNCTION):
              * jit/JSInterfaceJIT.h:
              (JSC::JSInterfaceJIT::emitJumpIfNotJSCell):
              (JSC::JSInterfaceJIT::emitLoadInt32):
              (JSC::JSInterfaceJIT::emitLoadDouble):
              * jit/SpecializedThunkJIT.h:
              (JSC::SpecializedThunkJIT::SpecializedThunkJIT):
              (JSC::SpecializedThunkJIT::loadJSStringArgument):
              (JSC::SpecializedThunkJIT::tagReturnAsInt32):
              (JSC::SpecializedThunkJIT::tagReturnAsJSCell):
              * jit/ThunkGenerators.cpp:
              (JSC::charToString):
              (JSC::powThunkGenerator):
              * yarr/YarrJIT.cpp:
              (JSC::Yarr::YarrGenerator::matchCharacterClass):
              (JSC::Yarr::YarrGenerator::storeToFrame):
              (JSC::Yarr::YarrGenerator::storeToFrameWithPatch):
              (JSC::Yarr::YarrGenerator::ParenthesesTail::generateCode):
              (JSC::Yarr::YarrGenerator::generatePatternCharacterSingle):
              (JSC::Yarr::YarrGenerator::generatePatternCharacterFixed):
              (JSC::Yarr::YarrGenerator::generatePatternCharacterGreedy):
              (JSC::Yarr::YarrGenerator::generatePatternCharacterNonGreedy):
              (JSC::Yarr::YarrGenerator::generateCharacterClassFixed):
              (JSC::Yarr::YarrGenerator::generateCharacterClassGreedy):
              (JSC::Yarr::YarrGenerator::generateCharacterClassNonGreedy):
              (JSC::Yarr::YarrGenerator::generateParenthesesSingle):
              (JSC::Yarr::YarrGenerator::generateDisjunction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be4e067b
    • abecsi@webkit.org's avatar
      2011-03-28 Andras Becsi <abecsi@webkit.org> · d250df5c
      abecsi@webkit.org authored
              Reviewed by Csaba Osztrogonác.
      
              [Qt] Fix the linking of jsc with MinGW after r81963.
      
              * jsc.pro: add -l and remove the lib suffix.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d250df5c
  7. 27 Mar, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-03-27 Ben Taylor <bentaylor.solx86@gmail.com> · 62573562
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
              in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
      
              Compile fix only, no actual code change.
      
              * wtf/MessageQueue.h:
      2011-03-27  Ben Taylor  <bentaylor.solx86@gmail.com>
      
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=57170  Fix last elements
              in an enum to remove a trailing comma. Sun Studio 12 CC errors out.
      
              Compile fix only, no actual code change.
      
              * dom/ExceptionCode.h:
              * editing/EditorInsertAction.h:
              * loader/FrameLoaderTypes.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/ScrollTypes.h:
              * platform/graphics/BitmapImage.h:
              * platform/image-decoders/ImageDecoder.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceRequestBase.h:
              * platform/text/TextCodec.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62573562
  8. 25 Mar, 2011 1 commit