diff src/cpu/x86/vm/assembler_x86.cpp @ 13553:d49f00604347

removed poll_Relocation::pollingForm type and associated data field and rely solely on format field of safepoint relocation entries when deciding whether or not to relocate the operand of a safepoint poll instruction
author Doug Simon <doug.simon@oracle.com>
date Wed, 08 Jan 2014 16:57:30 +0100
parents fa5180b3c18e
children b51e29501f30 692c25719837
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.cpp	Wed Jan 08 16:56:01 2014 +0100
+++ b/src/cpu/x86/vm/assembler_x86.cpp	Wed Jan 08 16:57:30 2014 +0100
@@ -81,10 +81,8 @@
     _rspec = runtime_call_Relocation::spec();
     break;
   case relocInfo::poll_type:
-    _rspec = poll_Relocation::spec(Assembler::is_polling_page_far() ? poll_Relocation::absolute : poll_Relocation::pc_relative);
-    break;
   case relocInfo::poll_return_type:
-    _rspec = poll_return_Relocation::spec(Assembler::is_polling_page_far() ? poll_Relocation::absolute : poll_Relocation::pc_relative);
+    _rspec = Relocation::spec_simple(rtype);
     break;
   case relocInfo::none:
     break;