src/share/vm/c1/c1_Instruction.hpp

changeset 7058
2fd0fd493045
parent 5921
ce0cc25bc5e2
child 7535
7ae4e26cb1e0
child 8368
32b682649973
     1.1 --- a/src/share/vm/c1/c1_Instruction.hpp	Tue Aug 19 20:41:28 2014 +0100
     1.2 +++ b/src/share/vm/c1/c1_Instruction.hpp	Wed Jun 04 10:01:28 2014 +0200
     1.3 @@ -1291,16 +1291,18 @@
     1.4  LEAF(NewInstance, StateSplit)
     1.5   private:
     1.6    ciInstanceKlass* _klass;
     1.7 +  bool _is_unresolved;
     1.8  
     1.9   public:
    1.10    // creation
    1.11 -  NewInstance(ciInstanceKlass* klass, ValueStack* state_before)
    1.12 +  NewInstance(ciInstanceKlass* klass, ValueStack* state_before, bool is_unresolved)
    1.13    : StateSplit(instanceType, state_before)
    1.14 -  , _klass(klass)
    1.15 +  , _klass(klass), _is_unresolved(is_unresolved)
    1.16    {}
    1.17  
    1.18    // accessors
    1.19    ciInstanceKlass* klass() const                 { return _klass; }
    1.20 +  bool is_unresolved() const                     { return _is_unresolved; }
    1.21  
    1.22    virtual bool needs_exception_state() const     { return false; }
    1.23  

mercurial