Ignore:
Timestamp:
Jun 5, 2009, 7:39:36 PM (16 years ago)
Author:
[email protected]
Message:

2009-06-05 Gavin Barraclough <[email protected]>

Reviewed by Sam Weinig.

Switch storePtrWithPatch to take the initial immediate value as an argument.

  • assembler/MacroAssemblerX86.h: (JSC::MacroAssemblerX86::storePtrWithPatch):
  • assembler/MacroAssemblerX86_64.h: (JSC::MacroAssemblerX86_64::storePtrWithPatch):
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_jsr):
File:
1 edited

Legend:

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

    r44457 r44477  
    146146    }
    147147
    148     DataLabelPtr storePtrWithPatch(ImplicitAddress address)
     148    DataLabelPtr storePtrWithPatch(ImmPtr initialValue, ImplicitAddress address)
    149149    {
    150         m_assembler.movl_i32m(0, address.offset, address.base);
     150        m_assembler.movl_i32m(initialValue.asIntptr(), address.offset, address.base);
    151151        return DataLabelPtr(this);
    152152    }
Note: See TracChangeset for help on using the changeset viewer.