comparison src/cpu/x86/vm/relocInfo_x86.cpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 1302b727b5cd
children
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
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 typedef Assembler::WhichOperand WhichOperand; 182 typedef Assembler::WhichOperand WhichOperand;
183 WhichOperand which = (WhichOperand) format(); 183 WhichOperand which = (WhichOperand) format();
184 #ifndef GRAAL 184 #ifndef JVMCI
185 assert((which == Assembler::disp32_operand) == !Assembler::is_polling_page_far(), "format not set correctly"); 185 assert((which == Assembler::disp32_operand) == !Assembler::is_polling_page_far(), "format not set correctly");
186 #endif 186 #endif
187 if (which == Assembler::disp32_operand) { 187 if (which == Assembler::disp32_operand) {
188 address orig_addr = old_addr_for(addr(), src, dest); 188 address orig_addr = old_addr_for(addr(), src, dest);
189 NativeInstruction* oni = nativeInstruction_at(orig_addr); 189 NativeInstruction* oni = nativeInstruction_at(orig_addr);