Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
12188:cd16d587b0fa | 12190:edb5ab0f3fe5 |
---|---|
834 } | 834 } |
835 | 835 |
836 // Insert a loop predicate into the graph | 836 // Insert a loop predicate into the graph |
837 void add_predicate(int nargs = 0); | 837 void add_predicate(int nargs = 0); |
838 void add_predicate_impl(Deoptimization::DeoptReason reason, int nargs); | 838 void add_predicate_impl(Deoptimization::DeoptReason reason, int nargs); |
839 | |
840 // Produce new array node of stable type | |
841 Node* cast_array_to_stable(Node* ary, const TypeAryPtr* ary_type); | |
839 }; | 842 }; |
840 | 843 |
841 // Helper class to support building of control flow branches. Upon | 844 // Helper class to support building of control flow branches. Upon |
842 // creation the map and sp at bci are cloned and restored upon de- | 845 // creation the map and sp at bci are cloned and restored upon de- |
843 // struction. Typical use: | 846 // struction. Typical use: |