diff src/share/vm/opto/memnode.hpp @ 1367:9e321dcfa5b7

6940726: Use BIS instruction for allocation prefetch on Sparc Summary: Use BIS instruction for allocation prefetch on Sparc Reviewed-by: twisti
author kvn
date Wed, 07 Apr 2010 12:39:27 -0700
parents 8d9bfe6a446b
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.hpp	Wed Apr 07 10:35:56 2010 -0700
+++ b/src/share/vm/opto/memnode.hpp	Wed Apr 07 12:39:27 2010 -0700
@@ -1244,5 +1244,5 @@
   virtual int Opcode() const;
   virtual uint ideal_reg() const { return NotAMachineReg; }
   virtual uint match_edge(uint idx) const { return idx==2; }
-  virtual const Type *bottom_type() const { return Type::ABIO; }
+  virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
 };