761 class BuildCutout: public PreserveJVMState { |
761 class BuildCutout: public PreserveJVMState { |
762 public: |
762 public: |
763 BuildCutout(GraphKit* kit, Node* p, float prob, float cnt = COUNT_UNKNOWN); |
763 BuildCutout(GraphKit* kit, Node* p, float prob, float cnt = COUNT_UNKNOWN); |
764 ~BuildCutout(); |
764 ~BuildCutout(); |
765 }; |
765 }; |
|
766 |
|
767 // Helper class to preserve the original _reexecute bit and _sp and restore |
|
768 // them back |
|
769 class PreserveReexecuteState: public StackObj { |
|
770 protected: |
|
771 GraphKit* _kit; |
|
772 uint _sp; |
|
773 JVMState::ReexecuteState _reexecute; |
|
774 |
|
775 public: |
|
776 PreserveReexecuteState(GraphKit* kit); |
|
777 ~PreserveReexecuteState(); |
|
778 }; |