hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp
changeset 33070 54f3f085b165
parent 32074 54b9558a71a2
child 33083 ffe98d5b5621
--- a/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Thu Sep 17 13:42:50 2015 -0700
+++ b/hotspot/src/cpu/sparc/vm/interp_masm_sparc.cpp	Thu Sep 17 09:03:57 2015 +0200
@@ -59,6 +59,13 @@
 
 #endif // CC_INTERP
 
+void InterpreterMacroAssembler::jump_to_entry(address entry) {
+  assert(entry, "Entry must have been generated by now");
+  AddressLiteral al(entry);
+  jump_to(al, G3_scratch);
+  delayed()->nop();
+}
+
 void InterpreterMacroAssembler::compute_extra_locals_size_in_bytes(Register args_size, Register locals_size, Register delta) {
   // Note: this algorithm is also used by C1's OSR entry sequence.
   // Any changes should also be applied to CodeEmitter::emit_osr_entry().