hotspot/src/share/vm/opto/optoreg.hpp
changeset 30624 2e1803c8a26d
parent 29474 81a5c5330d08
child 40010 e32d5e545789
--- a/hotspot/src/share/vm/opto/optoreg.hpp	Thu May 07 15:34:45 2015 -0700
+++ b/hotspot/src/share/vm/opto/optoreg.hpp	Fri May 08 11:49:20 2015 -0700
@@ -103,6 +103,10 @@
     return r - stack0();
   }
 
+  static void invalidate(Name n) {
+    vm2opto[n] = Bad;
+  }
+
   // convert a stack slot number into an OptoReg::Name
   static OptoReg::Name stack2reg( int idx) {
     return Name(stack0() + idx);