1.1 --- a/src/share/vm/opto/machnode.hpp Thu Jul 21 08:38:25 2011 -0700 1.2 +++ b/src/share/vm/opto/machnode.hpp Thu Jul 21 11:25:07 2011 -0700 1.3 @@ -282,7 +282,7 @@ 1.4 virtual int ideal_Opcode() const { return Op_Node; } 1.5 1.6 // Set the branch inside jump MachNodes. Error for non-branch Nodes. 1.7 - virtual void label_set( Label& label, uint block_num ); 1.8 + virtual void label_set( Label* label, uint block_num ); 1.9 1.10 // Adds the label for the case 1.11 virtual void add_case_label( int switch_val, Label* blockLabel); 1.12 @@ -531,6 +531,7 @@ 1.13 } 1.14 1.15 virtual void emit(CodeBuffer &cbuf, PhaseRegAlloc *ra_) const; 1.16 + virtual void label_set(Label* label, uint block_num); 1.17 virtual bool pinned() const { return true; }; 1.18 virtual void negate() { } 1.19 virtual const class Type *bottom_type() const { return TypeTuple::IFBOTH; } 1.20 @@ -853,7 +854,7 @@ 1.21 1.22 virtual MachOper *clone(Compile* C) const; 1.23 1.24 - virtual Label *label() const { return _label; } 1.25 + virtual Label *label() const { assert(_label != NULL, "need Label"); return _label; } 1.26 1.27 virtual uint opcode() const; 1.28