diff src/os_cpu/windows_x86/vm/windows_x86_64.ad @ 9063:46d24f112c27

Merge
author dcubed
date Fri, 05 Apr 2013 16:16:18 -0700
parents e961c11b85fe
children
line wrap: on
line diff
--- a/src/os_cpu/windows_x86/vm/windows_x86_64.ad	Fri Apr 05 12:19:19 2013 -0400
+++ b/src/os_cpu/windows_x86/vm/windows_x86_64.ad	Fri Apr 05 16:16:18 2013 -0700
@@ -53,30 +53,11 @@
   // adding a syntax that specifies the sizes of fields in an order,
   // so that the adlc can build the emit functions automagically
 
-  enc_class Java_To_Runtime (method meth) %{    // CALL Java_To_Runtime
-    // No relocation needed
+%}
+
 
-    // movq r10, <meth>
-    emit_opcode(cbuf, Assembler::REX_WB);
-    emit_opcode(cbuf, 0xB8 | (R10_enc - 8));
-    emit_d64(cbuf, (int64_t) $meth$$method);
+// Platform dependent source
 
-    // call (r10)
-    emit_opcode(cbuf, Assembler::REX_B);
-    emit_opcode(cbuf, 0xFF);
-    emit_opcode(cbuf, 0xD0 | (R10_enc - 8));
-  %}
+source %{
 
 %}
-
-//
-// Platform dependent source
-//
-source %{
-
-int MachCallRuntimeNode::ret_addr_offset()
-{
-  return 13; // movq r10,#addr; callq (r10)
-}
-
-%}