--- old/src/cpu/x86/vm/x86_64.ad Thu May 20 16:56:55 2010 +++ new/src/cpu/x86/vm/x86_64.ad Thu May 20 16:56:55 2010 @@ -2054,6 +2054,11 @@ // into registers? True for Intel but false for most RISCs const bool Matcher::clone_shift_expressions = true; +bool Matcher::narrow_oop_use_complex_address() { + assert(UseCompressedOops, "only for comressed oops code"); + return (LogMinObjAlignmentInBytes <= 3); +} + // 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