diff src/cpu/x86/vm/nativeInst_x86.hpp @ 8151:b8f261ba79c6

Minimize diff to plain HotSpot version.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Mar 2013 21:00:29 +0100
parents a413bcd552a4
children 5335d65fec56
line wrap: on
line diff
--- a/src/cpu/x86/vm/nativeInst_x86.hpp	Thu Mar 07 15:17:51 2013 +0100
+++ b/src/cpu/x86/vm/nativeInst_x86.hpp	Thu Mar 07 21:00:29 2013 +0100
@@ -578,10 +578,8 @@
     // Graal may allocate an arbitrary register for storing the polling address.
     return true;
 #else
-    if (ubyte_at(0) == Assembler::REX_WR && ubyte_at(1) == NativeMovRegMem::instruction_code_mem2reg && ubyte_at(2) == 0x15) { // mov r10, rip[...]
-      address fault = addr_at(7) + int_at(3);
-      return os::is_poll_address(fault);
-    } else if (ubyte_at(0) == NativeTstRegMem::instruction_code_memXregl && ubyte_at(1) == 0x05) { // 00 rax 101
+    if (ubyte_at(0) == NativeTstRegMem::instruction_code_memXregl &&
+        ubyte_at(1) == 0x05) { // 00 rax 101
       address fault = addr_at(6) + int_at(2);
       return os::is_poll_address(fault);
     } else {