diff src/share/vm/opto/graphKit.hpp @ 12190:edb5ab0f3fe5

8001107: @Stable annotation for constant folding of lazily evaluated variables Reviewed-by: rbackman, twisti, kvn Contributed-by: john.r.rose@oracle.com, vladimir.x.ivanov@oracle.com
author vlivanov
date Tue, 10 Sep 2013 14:51:48 -0700
parents 29aa8936f03c
children d9043b88eeb3
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.hpp	Mon Sep 09 19:53:28 2013 +0200
+++ b/src/share/vm/opto/graphKit.hpp	Tue Sep 10 14:51:48 2013 -0700
@@ -836,6 +836,9 @@
   // Insert a loop predicate into the graph
   void add_predicate(int nargs = 0);
   void add_predicate_impl(Deoptimization::DeoptReason reason, int nargs);
+
+  // Produce new array node of stable type
+  Node* cast_array_to_stable(Node* ary, const TypeAryPtr* ary_type);
 };
 
 // Helper class to support building of control flow branches. Upon