--- old/src/cpu/sparc/vm/sparc.ad Thu May 20 16:56:53 2010 +++ new/src/cpu/sparc/vm/sparc.ad Thu May 20 16:56:53 2010 @@ -1750,6 +1750,12 @@ // registers? True for Intel but false for most RISCs const bool Matcher::clone_shift_expressions = false; +bool Matcher::narrow_oop_use_complex_address() { + NOT_LP64(ShouldNotCallThis()); + assert(UseCompressedOops, "only for comressed oops code"); + return false; +} + // Is it better to copy float constants, or load them directly from memory? // Intel can load a float constant from a direct address, requiring no // extra registers. Most RISCs will have to materialize an address into a