Ignore:
Timestamp:
Dec 22, 2008, 1:21:18 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-22 Sam Weinig <[email protected]>

Reviewed by Gavin Barraclough.

Rename all uses of the term "repatch" to "patch".

  • assembler/MacroAssembler.h: (JSC::MacroAssembler::DataLabelPtr::patch): (JSC::MacroAssembler::DataLabel32::patch): (JSC::MacroAssembler::Jump::patch): (JSC::MacroAssembler::PatchBuffer::PatchBuffer): (JSC::MacroAssembler::PatchBuffer::setPtr): (JSC::MacroAssembler::loadPtrWithAddressOffsetPatch): (JSC::MacroAssembler::storePtrWithAddressOffsetPatch): (JSC::MacroAssembler::storePtrWithPatch): (JSC::MacroAssembler::jnePtrWithPatch):
  • assembler/X86Assembler.h: (JSC::X86Assembler::patchAddress): (JSC::X86Assembler::patchImmediate): (JSC::X86Assembler::patchPointer): (JSC::X86Assembler::patchBranchOffset):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::tryCTICachePutByID): (JSC::Interpreter::tryCTICacheGetByID): (JSC::Interpreter::cti_op_put_by_id): (JSC::Interpreter::cti_op_get_by_id): (JSC::Interpreter::cti_op_get_by_id_self_fail): (JSC::Interpreter::cti_op_get_by_id_proto_list): (JSC::Interpreter::cti_vm_dontLazyLinkCall):
  • jit/JIT.cpp: (JSC::ctiPatchCallByReturnAddress): (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompile): (JSC::JIT::privateCompileCTIMachineTrampolines):
  • jit/JIT.h:
  • jit/JITCall.cpp: (JSC::JIT::unlinkCall): (JSC::JIT::linkCall): (JSC::JIT::compileOpCall):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::compileGetByIdHotPath): (JSC::JIT::compilePutByIdHotPath): (JSC::JIT::compileGetByIdSlowCase): (JSC::JIT::compilePutByIdSlowCase): (JSC::JIT::privateCompilePutByIdTransition): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::patchPutByIdReplace): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdSelf): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain): (JSC::JIT::privateCompilePutByIdReplace):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/assembler/X86Assembler.h

    r39428 r39440  
    11001100    }
    11011101
    1102     // Linking & repatching:
     1102    // Linking & patching:
    11031103
    11041104    void link(JmpSrc from, JmpDst to)
     
    11101110    }
    11111111   
    1112     static void repatchAddress(void* code, JmpDst position, void* value)
     1112    static void patchAddress(void* code, JmpDst position, void* value)
    11131113    {
    11141114        ASSERT(position.m_offset != -1);
     
    11511151    }
    11521152   
    1153     static void repatchImmediate(intptr_t where, int32_t value)
     1153    static void patchImmediate(intptr_t where, int32_t value)
    11541154    {
    11551155        reinterpret_cast<int32_t*>(where)[-1] = value;
    11561156    }
    11571157   
    1158     static void repatchPointer(intptr_t where, intptr_t value)
     1158    static void patchPointer(intptr_t where, intptr_t value)
    11591159    {
    11601160        reinterpret_cast<intptr_t*>(where)[-1] = value;
    11611161    }
    11621162   
    1163     static void repatchBranchOffset(intptr_t where, void* destination)
     1163    static void patchBranchOffset(intptr_t where, void* destination)
    11641164    {
    11651165        intptr_t offset = reinterpret_cast<intptr_t>(destination) - where;
Note: See TracChangeset for help on using the changeset viewer.