hotspot/src/share/vm/c1/c1_Instruction.hpp
changeset 33633 8a83967eb351
parent 28954 7dda6c26cc98
child 37480 291ee208fb72
child 38031 e0b822facc03
--- a/hotspot/src/share/vm/c1/c1_Instruction.hpp	Wed Nov 04 07:23:23 2015 -1000
+++ b/hotspot/src/share/vm/c1/c1_Instruction.hpp	Thu Nov 05 13:33:18 2015 +0300
@@ -701,19 +701,22 @@
 LEAF(Local, Instruction)
  private:
   int      _java_index;                          // the local index within the method to which the local belongs
+  bool     _is_receiver;                         // if local variable holds the receiver: "this" for non-static methods
   ciType*  _declared_type;
  public:
   // creation
-  Local(ciType* declared, ValueType* type, int index)
+  Local(ciType* declared, ValueType* type, int index, bool receiver)
     : Instruction(type)
     , _java_index(index)
     , _declared_type(declared)
+    , _is_receiver(receiver)
   {
     NOT_PRODUCT(set_printable_bci(-1));
   }
 
   // accessors
   int java_index() const                         { return _java_index; }
+  bool is_receiver() const                       { return _is_receiver; }
 
   virtual ciType* declared_type() const          { return _declared_type; }