Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/relocInfo_x86.cpp @ 13515:fa5180b3c18e
renamed pollingPageDistance enum to pollingForm
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 06 Jan 2014 20:43:31 +0100 |
parents | 8085ce95b6f5 |
children | d49f00604347 |
comparison
equal
deleted
inserted
replaced
13514:0fbee3eb71f0 | 13515:fa5180b3c18e |
---|---|
177 return *pd_address_in_code(); | 177 return *pd_address_in_code(); |
178 } | 178 } |
179 | 179 |
180 void poll_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { | 180 void poll_Relocation::fix_relocation_after_move(const CodeBuffer* src, CodeBuffer* dest) { |
181 #ifdef _LP64 | 181 #ifdef _LP64 |
182 if (_distance == near) { | 182 if (_form == pc_relative) { |
183 typedef Assembler::WhichOperand WhichOperand; | 183 typedef Assembler::WhichOperand WhichOperand; |
184 WhichOperand which = (WhichOperand) format(); | 184 WhichOperand which = (WhichOperand) format(); |
185 // This format is imm but it is really disp32 | 185 // This format is imm but it is really disp32 |
186 which = Assembler::disp32_operand; | 186 which = Assembler::disp32_operand; |
187 address orig_addr = old_addr_for(addr(), src, dest); | 187 address orig_addr = old_addr_for(addr(), src, dest); |