comparison src/cpu/sparc/vm/graalCodeInstaller_sparc.hpp @ 11799:4c96ccce3772

SPARC: added CodeInstaller::pd_relocate_poll
author twisti
date Wed, 25 Sep 2013 13:26:02 -0700
parents ce0b00597980
children 8085ce95b6f5
comparison
equal deleted inserted replaced
11798:2fbb9fd55dde 11799:4c96ccce3772
180 fatal("invalid _next_call_type value"); 180 fatal("invalid _next_call_type value");
181 break; 181 break;
182 } 182 }
183 } 183 }
184 184
185 inline void CodeInstaller::pd_relocate_poll(address pc, jint mark) {
186 switch (mark) {
187 case MARK_POLL_NEAR: {
188 fatal("unimplemented");
189 }
190 case MARK_POLL_FAR:
191 _instructions->relocate(pc, relocInfo::poll_type);
192 break;
193 case MARK_POLL_RETURN_NEAR: {
194 fatal("unimplemented");
195 }
196 case MARK_POLL_RETURN_FAR:
197 _instructions->relocate(pc, relocInfo::poll_return_type);
198 break;
199 default:
200 fatal("invalid mark value");
201 break;
202 }
203 }
204
185 #endif // CPU_SPARC_VM_CODEINSTALLER_SPARC_HPP 205 #endif // CPU_SPARC_VM_CODEINSTALLER_SPARC_HPP