Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 4221:bcbb918f5ac6
Renaming of VMExits and VMEntries part 2.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 04 Jan 2012 21:07:44 +0100 |
parents | 5c80ccb80036 |
children | e0a4668c57a2 |
comparison
equal
deleted
inserted
replaced
4220:5c80ccb80036 | 4221:bcbb918f5ac6 |
---|---|
23 | 23 |
24 #include "precompiled.hpp" | 24 #include "precompiled.hpp" |
25 #include "graal/graalCompiler.hpp" | 25 #include "graal/graalCompiler.hpp" |
26 #include "graal/graalCodeInstaller.hpp" | 26 #include "graal/graalCodeInstaller.hpp" |
27 #include "graal/graalJavaAccess.hpp" | 27 #include "graal/graalJavaAccess.hpp" |
28 #include "graal/graalVMEntries.hpp" | 28 #include "graal/graalCompilerToVM.hpp" |
29 #include "graal/graalVmIds.hpp" | 29 #include "graal/graalVmIds.hpp" |
30 #include "graal/graalEnv.hpp" | 30 #include "graal/graalEnv.hpp" |
31 #include "c1/c1_Runtime1.hpp" | 31 #include "c1/c1_Runtime1.hpp" |
32 #include "classfile/vmSymbols.hpp" | 32 #include "classfile/vmSymbols.hpp" |
33 #include "vmreg_x86.inline.hpp" | 33 #include "vmreg_x86.inline.hpp" |
668 if (runtime_call != CiRuntimeCall::Debug()) { | 668 if (runtime_call != CiRuntimeCall::Debug()) { |
669 address target_addr = runtime_call_target_address(runtime_call); | 669 address target_addr = runtime_call_target_address(runtime_call); |
670 | 670 |
671 if (inst->is_call()) { | 671 if (inst->is_call()) { |
672 // NOTE: for call without a mov, the offset must fit a 32-bit immediate | 672 // NOTE: for call without a mov, the offset must fit a 32-bit immediate |
673 // see also VMEntries.getMaxCallTargetOffset() | 673 // see also CompilerToVM.getMaxCallTargetOffset() |
674 NativeCall* call = nativeCall_at(_instructions->start() + pc_offset); | 674 NativeCall* call = nativeCall_at(_instructions->start() + pc_offset); |
675 call->set_destination(target_addr); | 675 call->set_destination(target_addr); |
676 _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); | 676 _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); |
677 } else if (inst->is_mov_literal64()) { | 677 } else if (inst->is_mov_literal64()) { |
678 NativeMovConstReg* mov = nativeMovConstReg_at(_instructions->start() + pc_offset); | 678 NativeMovConstReg* mov = nativeMovConstReg_at(_instructions->start() + pc_offset); |