src/os_cpu/bsd_x86/vm/bsd_x86_64.ad

changeset 4873
e961c11b85fe
parent 3577
9b8ce46870df
     1.1 --- a/src/os_cpu/bsd_x86/vm/bsd_x86_64.ad	Tue Apr 02 09:30:07 2013 +0200
     1.2 +++ b/src/os_cpu/bsd_x86/vm/bsd_x86_64.ad	Wed Apr 03 11:12:57 2013 -0700
     1.3 @@ -55,20 +55,6 @@
     1.4    // adding a syntax that specifies the sizes of fields in an order,
     1.5    // so that the adlc can build the emit functions automagically
     1.6  
     1.7 -  enc_class Java_To_Runtime(method meth) %{
     1.8 -    // No relocation needed
     1.9 -
    1.10 -    // movq r10, <meth>
    1.11 -    emit_opcode(cbuf, Assembler::REX_WB);
    1.12 -    emit_opcode(cbuf, 0xB8 | (R10_enc - 8));
    1.13 -    emit_d64(cbuf, (int64_t) $meth$$method);
    1.14 -
    1.15 -    // call (r10)
    1.16 -    emit_opcode(cbuf, Assembler::REX_B);
    1.17 -    emit_opcode(cbuf, 0xFF);
    1.18 -    emit_opcode(cbuf, 0xD0 | (R10_enc - 8));
    1.19 -  %}
    1.20 -
    1.21  %}
    1.22  
    1.23  
    1.24 @@ -76,8 +62,4 @@
    1.25  
    1.26  source %{
    1.27  
    1.28 -int MachCallRuntimeNode::ret_addr_offset() {
    1.29 -  return 13; // movq r10,#addr; callq (r10)
    1.30 -}
    1.31 -
    1.32  %}

mercurial