hotspot/src/share/vm/c1/c1_Instruction.hpp
changeset 6751 b399fd234e47
parent 6750 b84813b41757
child 7100 6bcf9255d470
equal deleted inserted replaced
6750:b84813b41757 6751:b399fd234e47
  2244 
  2244 
  2245 LEAF(ProfileInvoke, Instruction)
  2245 LEAF(ProfileInvoke, Instruction)
  2246  private:
  2246  private:
  2247   ciMethod*   _inlinee;
  2247   ciMethod*   _inlinee;
  2248   ValueStack* _state;
  2248   ValueStack* _state;
  2249   int         _bci_of_invoke;
  2249 
  2250 
  2250  public:
  2251  public:
  2251   ProfileInvoke(ciMethod* inlinee,  ValueStack* state)
  2252   ProfileInvoke(ciMethod* inlinee,  ValueStack* state, int bci)
       
  2253     : Instruction(voidType)
  2252     : Instruction(voidType)
  2254     , _inlinee(inlinee)
  2253     , _inlinee(inlinee)
  2255     , _bci_of_invoke(bci)
       
  2256     , _state(state)
  2254     , _state(state)
  2257   {
  2255   {
  2258     // The ProfileInvoke has side-effects and must occur precisely where located QQQ???
  2256     // The ProfileInvoke has side-effects and must occur precisely where located QQQ???
  2259     pin();
  2257     pin();
  2260   }
  2258   }
  2261 
  2259 
  2262   ciMethod* inlinee()      { return _inlinee; }
  2260   ciMethod* inlinee()      { return _inlinee; }
  2263   ValueStack* state()      { return _state; }
  2261   ValueStack* state()      { return _state; }
  2264   int bci_of_invoke()      { return _bci_of_invoke; }
       
  2265   virtual void input_values_do(ValueVisitor*)   {}
  2262   virtual void input_values_do(ValueVisitor*)   {}
  2266   virtual void state_values_do(ValueVisitor*);
  2263   virtual void state_values_do(ValueVisitor*);
  2267 };
  2264 };
  2268 
  2265 
  2269 class BlockPair: public CompilationResourceObj {
  2266 class BlockPair: public CompilationResourceObj {