Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.hpp @ 9934:0f7ca53be929
CR-806: Changes to build Graal for SPARC
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Fri, 07 Jun 2013 15:43:00 -0400 |
parents | d552919fbb05 |
children | 67fa9b3e10ed |
comparison
equal
deleted
inserted
replaced
9933:78a1232be418 | 9934:0f7ca53be929 |
---|---|
73 OopRecorder* _oop_recorder; | 73 OopRecorder* _oop_recorder; |
74 DebugInformationRecorder* _debug_recorder; | 74 DebugInformationRecorder* _debug_recorder; |
75 Dependencies* _dependencies; | 75 Dependencies* _dependencies; |
76 ExceptionHandlerTable _exception_handler_table; | 76 ExceptionHandlerTable _exception_handler_table; |
77 | 77 |
78 jint pd_next_offset(NativeInstruction* inst, jint pc_offset, oop method); | |
79 void pd_site_DataPatch(oop constant, oop kind, bool inlined, address instruction, int alignment, char typeChar); | |
80 void pd_relocate_CodeBlob(CodeBlob* cb, NativeInstruction* inst); | |
81 void pd_relocate_ForeignCall(NativeInstruction* inst, jlong foreign_call_destination); | |
82 void pd_relocate_JavaMethod(oop method, jint pc_offset); | |
83 int32_t* pd_locate_operand(address instruction); | |
84 | |
78 public: | 85 public: |
79 | 86 |
80 CodeInstaller(Handle& comp_result, GraalEnv::CodeInstallResult& result, CodeBlob*& cb, Handle installed_code, Handle triggered_deoptimizations); | 87 CodeInstaller(Handle& comp_result, GraalEnv::CodeInstallResult& result, CodeBlob*& cb, Handle installed_code, Handle triggered_deoptimizations); |
81 | 88 |
82 static address runtime_call_target_address(oop runtime_call); | 89 static address runtime_call_target_address(oop runtime_call); |
104 | 111 |
105 void process_exception_handlers(); | 112 void process_exception_handlers(); |
106 | 113 |
107 }; | 114 }; |
108 | 115 |
116 #ifdef TARGET_ARCH_x86 | |
117 # include "codeInstaller_x86.hpp" | |
118 #endif | |
119 #ifdef TARGET_ARCH_sparc | |
120 # include "codeInstaller_sparc.hpp" | |
121 #endif | |
122 #ifdef TARGET_ARCH_zero | |
123 # error | |
124 #endif | |
125 #ifdef TARGET_ARCH_arm | |
126 # error | |
127 #endif | |
128 #ifdef TARGET_ARCH_ppc | |
129 # error | |
130 #endif | |
131 | |
109 #endif // SHARE_VM_GRAAL_GRAAL_CODE_INSTALLER_HPP | 132 #endif // SHARE_VM_GRAAL_GRAAL_CODE_INSTALLER_HPP |