Mercurial > hg > truffle
diff src/cpu/x86/vm/assembler_x86.cpp @ 13512:8085ce95b6f5
reloc info for safepoint polls includes whether the poison page is far or near
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 06 Jan 2014 13:41:59 +0100 |
parents | 096c224171c4 |
children | fa5180b3c18e |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.cpp Sat Jan 04 02:08:33 2014 +0200 +++ b/src/cpu/x86/vm/assembler_x86.cpp Mon Jan 06 13:41:59 2014 +0100 @@ -81,8 +81,10 @@ _rspec = runtime_call_Relocation::spec(); break; case relocInfo::poll_type: + _rspec = poll_Relocation::spec(Assembler::is_polling_page_far() ? poll_Relocation::far : poll_Relocation::near); + break; case relocInfo::poll_return_type: - _rspec = Relocation::spec_simple(rtype); + _rspec = poll_return_Relocation::spec(Assembler::is_polling_page_far() ? poll_Relocation::far : poll_Relocation::near); break; case relocInfo::none: break;