1. 16 Jun, 2009 38 commits
  2. 15 Jun, 2009 2 commits
    • barraclough@apple.com's avatar
      2009-06-15 Gavin Barraclough <barraclough@apple.com> · acf7fea8
      barraclough@apple.com authored
              Reviewed by Sam Weinig.
      
              Having moved most of their functionality into the RepatchBuffer class,
              we can simplify the CodeLocation* classes.
      
              The CodeLocation* classes are currently a tangle of templatey and friendly
              badness, burried in the middle of AbstractMacroAssembler.  Having moved
              the ability to repatch out into RepatchBufer they are now do-nothing wrappers
              on CodePtr (MacroAssemblerCodePtr), that only exist to provide type-safety.
      
              Simplify the code, and move them off into their own header.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * assembler/AbstractMacroAssembler.h:
              (JSC::AbstractMacroAssembler::PatchBuffer::patch):
              * assembler/CodeLocation.h: Copied from assembler/AbstractMacroAssembler.h.
              (JSC::CodeLocationCommon::CodeLocationCommon):
              (JSC::CodeLocationInstruction::CodeLocationInstruction):
              (JSC::CodeLocationLabel::CodeLocationLabel):
              (JSC::CodeLocationJump::CodeLocationJump):
              (JSC::CodeLocationCall::CodeLocationCall):
              (JSC::CodeLocationNearCall::CodeLocationNearCall):
              (JSC::CodeLocationDataLabel32::CodeLocationDataLabel32):
              (JSC::CodeLocationDataLabelPtr::CodeLocationDataLabelPtr):
              (JSC::CodeLocationCommon::instructionAtOffset):
              (JSC::CodeLocationCommon::labelAtOffset):
              (JSC::CodeLocationCommon::jumpAtOffset):
              (JSC::CodeLocationCommon::callAtOffset):
              (JSC::CodeLocationCommon::nearCallAtOffset):
              (JSC::CodeLocationCommon::dataLabelPtrAtOffset):
              (JSC::CodeLocationCommon::dataLabel32AtOffset):
              * assembler/MacroAssemblerCodeRef.h:
              (JSC::MacroAssemblerCodePtr::operator!):
              * bytecode/CodeBlock.h:
              (JSC::getStructureStubInfoReturnLocation):
              (JSC::getCallLinkInfoReturnLocation):
              (JSC::getMethodCallLinkInfoReturnLocation):
              * bytecode/Instruction.h:
              * bytecode/JumpTable.h:
              (JSC::StringJumpTable::ctiForValue):
              (JSC::SimpleJumpTable::ctiForValue):
              * bytecode/StructureStubInfo.h:
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitCatch):
              * jit/JIT.cpp:
              (JSC::JIT::privateCompile):
              * jit/JITStubs.cpp:
              (JSC::JITStubs::DEFINE_STUB_FUNCTION):
              (JSC::JITStubs::getPolymorphicAccessStructureListSlot):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acf7fea8
    • weinig@apple.com's avatar
      2009-06-15 Sam Weinig <sam@webkit.org> · 27a703f3
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              Remove outdated comment.
      
              * bindings/js/JSDOMWindowBase.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27a703f3