changeset 1586:b23b4c2c0d44

6980711: HotSpot assembler_sparc changes needed for GNU/Linux on SPARC build Summary: Fix compilation errors resulting from 6822110 Reviewed-by: kamg, ysr, dholmes, johnc, darcy
author andrew
date Fri, 27 Aug 2010 23:52:18 +0100
parents 13f94cc87253
children b69c41ea1764
files src/cpu/sparc/vm/assembler_sparc.hpp src/cpu/sparc/vm/assembler_sparc.inline.hpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/sparc/vm/assembler_sparc.hpp	Fri Jun 18 01:17:46 2010 -0700
+++ b/src/cpu/sparc/vm/assembler_sparc.hpp	Fri Aug 27 23:52:18 2010 +0100
@@ -2239,7 +2239,7 @@
   AddressLiteral constant_oop_address(jobject obj);                          // find_index
   inline void    set_oop             (jobject obj, Register d);              // uses allocate_oop_address
   inline void    set_oop_constant    (jobject obj, Register d);              // uses constant_oop_address
-  inline void    set_oop             (AddressLiteral& obj_addr, Register d); // same as load_address
+  inline void    set_oop             (const AddressLiteral& obj_addr, Register d); // same as load_address
 
   void set_narrow_oop( jobject obj, Register d );
 
--- a/src/cpu/sparc/vm/assembler_sparc.inline.hpp	Fri Jun 18 01:17:46 2010 -0700
+++ b/src/cpu/sparc/vm/assembler_sparc.inline.hpp	Fri Aug 27 23:52:18 2010 +0100
@@ -707,7 +707,7 @@
 }
 
 
-inline void MacroAssembler::set_oop(AddressLiteral& obj_addr, Register d) {
+inline void MacroAssembler::set_oop(const AddressLiteral& obj_addr, Register d) {
   assert(obj_addr.rspec().type() == relocInfo::oop_type, "must be an oop reloc");
   set(obj_addr, d);
 }