< prev index next >

src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp

Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???

@@ -229,18 +229,18 @@
 }
 
 
 // Compiled frames
 
-inline oop frame::saved_oop_result(RegisterMap* map) const {
+inline oop frame::saved_oop_result(const RegisterMap* map) const {
   oop* result_adr = (oop *)map->location(r0->as_VMReg());
   guarantee(result_adr != NULL, "bad register save location");
 
   return (*result_adr);
 }
 
-inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
+inline void frame::set_saved_oop_result(const RegisterMap* map, oop obj) {
   oop* result_adr = (oop *)map->location(r0->as_VMReg());
   guarantee(result_adr != NULL, "bad register save location");
 
   *result_adr = obj;
 }
< prev index next >