hotspot/src/share/vm/c1/c1_GraphBuilder.hpp
changeset 16611 6807a703dd6b
parent 13974 791cba24758f
child 20702 bbe0fcde6e13
--- a/hotspot/src/share/vm/c1/c1_GraphBuilder.hpp	Wed Mar 20 17:04:45 2013 -0700
+++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.hpp	Thu Mar 21 09:27:54 2013 +0100
@@ -301,6 +301,8 @@
   ValueStack* copy_state_exhandling();
   ValueStack* copy_state_for_exception_with_bci(int bci);
   ValueStack* copy_state_for_exception();
+  ValueStack* copy_state_if_bb(bool is_bb) { return (is_bb || compilation()->is_optimistic()) ? copy_state_before() : NULL; }
+  ValueStack* copy_state_indexed_access() { return compilation()->is_optimistic() ? copy_state_before() : copy_state_for_exception(); }
 
   //
   // Inlining support