1. 17 Nov, 2008 20 commits
  2. 16 Nov, 2008 20 commits
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 3b4921b6
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix Windows build.
      
              * JavaScriptCore.vcproj/jsc/jsc.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b4921b6
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 82132374
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix Windows build.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82132374
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 58f417eb
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
              
              Moved masm => assembler and split "AssemblerBuffer.h" out of "X86Assembler.h".
              
              Also renamed ENABLE_MASM to ENABLE_ASSEMBLER.
      
              * GNUmakefile.am:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * assembler: Added.
              * assembler/AssemblerBuffer.h: Copied from masm/X86Assembler.h.
              (JSC::AssemblerBuffer::AssemblerBuffer):
              (JSC::AssemblerBuffer::~AssemblerBuffer):
              (JSC::AssemblerBuffer::ensureSpace):
              (JSC::AssemblerBuffer::isAligned):
              (JSC::AssemblerBuffer::putByteUnchecked):
              (JSC::AssemblerBuffer::putByte):
              (JSC::AssemblerBuffer::putShortUnchecked):
              (JSC::AssemblerBuffer::putShort):
              (JSC::AssemblerBuffer::putIntUnchecked):
              (JSC::AssemblerBuffer::putInt):
              (JSC::AssemblerBuffer::data):
              (JSC::AssemblerBuffer::size):
              (JSC::AssemblerBuffer::reset):
              (JSC::AssemblerBuffer::executableCopy):
              (JSC::AssemblerBuffer::grow):
              * assembler/X86Assembler.h: Copied from masm/X86Assembler.h.
              * masm: Removed.
              * masm/X86Assembler.h: Removed.
              * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58f417eb
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 5f6c4285
      ggaren@apple.com authored
              Not reviewed.
              
              Changed "window." to "this." to unbreak these test I just broke in
              non-browser builds.
      
              * fast/js/resources/duplicate-param-gc-crash.js:
              (gc):
              * fast/js/resources/var-shadows-arg-gc-crash.js:
              (gc):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f6c4285
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 64410e74
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Sped up two of the slowest JS layout tests by replacing some hand-rolled
              "force GC" code with something orders of magnitude faster.
      
              * fast/js/resources/duplicate-param-gc-crash.js:
              (gc):
              * fast/js/resources/var-shadows-arg-gc-crash.js:
              (gc):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64410e74
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 987bc5be
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix gtk build.
      
              * configure.ac:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      987bc5be
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 958007d0
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix Windows build.
      
              * WebCoreSupport/WebFrameLoaderClient.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      958007d0
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 95546e42
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix gtk build.
      
              * GNUmakefile.am:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95546e42
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · c0a52bc2
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
              
              Removed ascii-regexp-subject.html because it was the slowest JS test (20s
              on my iMac) and it didn't actually verify anything.
              
              Filed https://bugs.webkit.org/show_bug.cgi?id=22303 to cover fixing
              the bug that ascii-regexp-subject.html purported to test for, and
              then relanding a faster version of ascii-regexp-subject.html once it
              would pass (currently, it would fail).
      
              * fast/js/ascii-regexp-subject-expected.txt: Removed.
              * fast/js/ascii-regexp-subject.html: Removed.
              * fast/js/resources/ascii-regexp-subject.js: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0a52bc2
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 16903abc
      ggaren@apple.com authored
              Not reviewed.
              
              Fixed tyop.
      
              * VM/CTI.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16903abc
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · c8cb0749
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix windows build.
      
              * VM/CTI.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8cb0749
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 5170e69a
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix gtk build.
      
              * GNUmakefile.am:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5170e69a
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · f272d2d5
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Renamed ENABLE_CTI and ENABLE(CTI) to ENABLE_JIT and ENABLE(JIT).
      
              * VM/CTI.cpp:
              * VM/CTI.h:
              * VM/CodeBlock.cpp:
              (JSC::CodeBlock::~CodeBlock):
              * VM/CodeBlock.h:
              (JSC::CodeBlock::CodeBlock):
              * VM/Machine.cpp:
              (JSC::Interpreter::Interpreter):
              (JSC::Interpreter::initialize):
              (JSC::Interpreter::~Interpreter):
              (JSC::Interpreter::execute):
              (JSC::Interpreter::privateExecute):
              * VM/Machine.h:
              * bytecompiler/CodeGenerator.cpp:
              (JSC::prepareJumpTableForStringSwitch):
              * runtime/JSFunction.cpp:
              (JSC::JSFunction::~JSFunction):
              * runtime/JSGlobalData.h:
              * wrec/WREC.h:
              * wtf/Platform.h:
              * wtf/TCSystemAlloc.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f272d2d5
    • bolsinga@apple.com's avatar
      Reviewed by Darin Adler. · c167ca41
      bolsinga@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=21810
              Remove use of static C++ objects that are destroyed at exit time (destructors)
      
              Remove .o files from the exclude list that have had their exit-time destructors removed.
              Handle case when there is no current symbol.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c167ca41
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · d353dda1
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix gtk build.
      
              * VM/CTI.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d353dda1
    • simon.fraser@apple.com's avatar
      2008-11-16 Simon Fraser <simon.fraser@apple.com> · 0ec32edf
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein
      
              https://bugs.webkit.org/show_bug.cgi?id=22118
      
              Fix resize corner tracking in transformed elements by using
              mapping the point into local coords using absoluteToLocal,
              rather than convertToLayerCoords.
      
              Test: fast/css/resize-corner-tracking-transformed.html
      
              * page/EventHandler.h:
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::absoluteToContents):
              (WebCore::RenderLayer::offsetFromResizeCorner):
              (WebCore::RenderLayer::isPointInResizeControl):
              * rendering/RenderLayer.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ec32edf
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 4f7d7a92
      ggaren@apple.com authored
              Reviewed by a few people on squirrelfish-dev.
              
              Renamed CTI => JIT.
      
              * VM/CTI.cpp:
              (JSC::JIT::killLastResultRegister):
              (JSC::JIT::emitGetVirtualRegister):
              (JSC::JIT::emitGetVirtualRegisters):
              (JSC::JIT::emitPutCTIArgFromVirtualRegister):
              (JSC::JIT::emitPutCTIArg):
              (JSC::JIT::emitGetCTIArg):
              (JSC::JIT::emitPutCTIArgConstant):
              (JSC::JIT::getConstantImmediateNumericArg):
              (JSC::JIT::emitPutCTIParam):
              (JSC::JIT::emitGetCTIParam):
              (JSC::JIT::emitPutToCallFrameHeader):
              (JSC::JIT::emitGetFromCallFrameHeader):
              (JSC::JIT::emitPutVirtualRegister):
              (JSC::JIT::emitInitRegister):
              (JSC::JIT::printBytecodeOperandTypes):
              (JSC::JIT::emitAllocateNumber):
              (JSC::JIT::emitNakedCall):
              (JSC::JIT::emitNakedFastCall):
              (JSC::JIT::emitCTICall):
              (JSC::JIT::emitJumpSlowCaseIfNotJSCell):
              (JSC::JIT::linkSlowCaseIfNotJSCell):
              (JSC::JIT::emitJumpSlowCaseIfNotImmNum):
              (JSC::JIT::emitJumpSlowCaseIfNotImmNums):
              (JSC::JIT::getDeTaggedConstantImmediate):
              (JSC::JIT::emitFastArithDeTagImmediate):
              (JSC::JIT::emitFastArithDeTagImmediateJumpIfZero):
              (JSC::JIT::emitFastArithReTagImmediate):
              (JSC::JIT::emitFastArithPotentiallyReTagImmediate):
              (JSC::JIT::emitFastArithImmToInt):
              (JSC::JIT::emitFastArithIntToImmOrSlowCase):
              (JSC::JIT::emitFastArithIntToImmNoCheck):
              (JSC::JIT::emitArithIntToImmWithJump):
              (JSC::JIT::emitTagAsBoolImmediate):
              (JSC::JIT::JIT):
              (JSC::JIT::compileOpCallInitializeCallFrame):
              (JSC::JIT::compileOpCallSetupArgs):
              (JSC::JIT::compileOpCallEvalSetupArgs):
              (JSC::JIT::compileOpConstructSetupArgs):
              (JSC::JIT::compileOpCall):
              (JSC::JIT::compileOpStrictEq):
              (JSC::JIT::emitSlowScriptCheck):
              (JSC::JIT::putDoubleResultToJSNumberCellOrJSImmediate):
              (JSC::JIT::compileBinaryArithOp):
              (JSC::JIT::compileBinaryArithOpSlowCase):
              (JSC::JIT::privateCompileMainPass):
              (JSC::JIT::privateCompileLinkPass):
              (JSC::JIT::privateCompileSlowCases):
              (JSC::JIT::privateCompile):
              (JSC::JIT::privateCompileGetByIdSelf):
              (JSC::JIT::privateCompileGetByIdProto):
              (JSC::JIT::privateCompileGetByIdChain):
              (JSC::JIT::privateCompilePutByIdReplace):
              (JSC::JIT::privateCompilePutByIdTransition):
              (JSC::JIT::unlinkCall):
              (JSC::JIT::linkCall):
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::freeCTIMachineTrampolines):
              (JSC::JIT::patchGetByIdSelf):
              (JSC::JIT::patchPutByIdReplace):
              (JSC::JIT::privateCompilePatchGetArrayLength):
              (JSC::JIT::emitGetVariableObjectRegister):
              (JSC::JIT::emitPutVariableObjectRegister):
              * VM/CTI.h:
              (JSC::JIT::compile):
              (JSC::JIT::compileGetByIdSelf):
              (JSC::JIT::compileGetByIdProto):
              (JSC::JIT::compileGetByIdChain):
              (JSC::JIT::compilePutByIdReplace):
              (JSC::JIT::compilePutByIdTransition):
              (JSC::JIT::compileCTIMachineTrampolines):
              (JSC::JIT::compilePatchGetArrayLength):
              * VM/CodeBlock.cpp:
              (JSC::CodeBlock::unlinkCallers):
              * VM/Machine.cpp:
              (JSC::Interpreter::initialize):
              (JSC::Interpreter::~Interpreter):
              (JSC::Interpreter::execute):
              (JSC::Interpreter::tryCTICachePutByID):
              (JSC::Interpreter::tryCTICacheGetByID):
              (JSC::Interpreter::cti_op_call_JSFunction):
              (JSC::Interpreter::cti_vm_dontLazyLinkCall):
              (JSC::Interpreter::cti_vm_lazyLinkCall):
              * VM/Machine.h:
              * VM/RegisterFile.h:
              * parser/Nodes.h:
              * runtime/JSArray.h:
              * runtime/JSCell.h:
              * runtime/JSFunction.h:
              * runtime/JSImmediate.h:
              * runtime/JSNumberCell.h:
              * runtime/JSObject.h:
              * runtime/JSString.h:
              * runtime/JSVariableObject.h:
              * runtime/ScopeChain.h:
              * runtime/Structure.h:
              * runtime/TypeInfo.h:
              * runtime/UString.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f7d7a92
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · a9a8bb0a
      ggaren@apple.com authored
              Not reviewed.
              
              Try to fix wx build.
      
              * jscore.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9a8bb0a
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 0bbea111
      ggaren@apple.com authored
              Reviewed by Sam Weinig.
      
              Nixed X86:: and X86Assembler:: prefixes in a lot of places using typedefs.
      
              * VM/CTI.cpp:
              (JSC::CTI::emitGetVirtualRegister):
              (JSC::CTI::emitGetVirtualRegisters):
              (JSC::CTI::emitPutCTIArgFromVirtualRegister):
              (JSC::CTI::emitPutCTIArg):
              (JSC::CTI::emitGetCTIArg):
              (JSC::CTI::emitPutCTIParam):
              (JSC::CTI::emitGetCTIParam):
              (JSC::CTI::emitPutToCallFrameHeader):
              (JSC::CTI::emitGetFromCallFrameHeader):
              (JSC::CTI::emitPutVirtualRegister):
              (JSC::CTI::emitNakedCall):
              (JSC::CTI::emitNakedFastCall):
              (JSC::CTI::emitCTICall):
              (JSC::CTI::emitJumpSlowCaseIfNotJSCell):
              (JSC::CTI::emitJumpSlowCaseIfNotImmNum):
              (JSC::CTI::emitJumpSlowCaseIfNotImmNums):
              (JSC::CTI::emitFastArithDeTagImmediate):
              (JSC::CTI::emitFastArithDeTagImmediateJumpIfZero):
              (JSC::CTI::emitFastArithReTagImmediate):
              (JSC::CTI::emitFastArithPotentiallyReTagImmediate):
              (JSC::CTI::emitFastArithImmToInt):
              (JSC::CTI::emitFastArithIntToImmOrSlowCase):
              (JSC::CTI::emitFastArithIntToImmNoCheck):
              (JSC::CTI::emitArithIntToImmWithJump):
              (JSC::CTI::emitTagAsBoolImmediate):
              (JSC::CTI::compileOpCall):
              (JSC::CTI::compileOpStrictEq):
              (JSC::CTI::emitSlowScriptCheck):
              (JSC::CTI::putDoubleResultToJSNumberCellOrJSImmediate):
              (JSC::CTI::compileBinaryArithOp):
              (JSC::CTI::compileBinaryArithOpSlowCase):
              (JSC::CTI::privateCompileMainPass):
              (JSC::CTI::privateCompileSlowCases):
              (JSC::CTI::privateCompile):
              (JSC::CTI::privateCompileGetByIdSelf):
              (JSC::CTI::privateCompileGetByIdProto):
              (JSC::CTI::privateCompileGetByIdChain):
              (JSC::CTI::privateCompilePutByIdReplace):
              (JSC::CTI::privateCompilePutByIdTransition):
              (JSC::CTI::privateCompileCTIMachineTrampolines):
              (JSC::CTI::privateCompilePatchGetArrayLength):
              (JSC::CTI::emitGetVariableObjectRegister):
              (JSC::CTI::emitPutVariableObjectRegister):
              * VM/CTI.h:
              (JSC::CallRecord::CallRecord):
              (JSC::JmpTable::JmpTable):
              (JSC::SlowCaseEntry::SlowCaseEntry):
              (JSC::CTI::JSRInfo::JSRInfo):
              * wrec/WREC.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bbea111
    • ggaren@apple.com's avatar
      2008-11-16 Geoffrey Garen <ggaren@apple.com> · 55fadbe3
      ggaren@apple.com authored
              Not reviewed.
      
              Try to fix Qt build.
      
              * WebCore.pro:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55fadbe3