< prev index next >

src/hotspot/share/opto/c2_CodeStubs.hpp

Print this page
*** 99,18 ***
  
  class C2FastUnlockLightweightStub : public C2CodeStub {
  private:
    Register _obj;
    Register _mark;
!   Register _t;
    Register _thread;
    Label _push_and_slow_path;
    Label _check_successor;
    Label _unlocked_continuation;
  public:
!   C2FastUnlockLightweightStub(Register obj, Register mark, Register t, Register thread) : C2CodeStub(),
!     _obj(obj), _mark(mark), _t(t), _thread(thread) {}
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
    Label& push_and_slow_path() { return _push_and_slow_path; }
    Label& check_successor() { return _check_successor; }
    Label& unlocked_continuation() { return _unlocked_continuation; }
--- 99,19 ---
  
  class C2FastUnlockLightweightStub : public C2CodeStub {
  private:
    Register _obj;
    Register _mark;
!   Register _t1;
+   Register _t2;
    Register _thread;
    Label _push_and_slow_path;
    Label _check_successor;
    Label _unlocked_continuation;
  public:
!   C2FastUnlockLightweightStub(Register obj, Register mark, Register t1, Register t2, Register thread) : C2CodeStub(),
!     _obj(obj), _mark(mark), _t1(t1), _t2(t2), _thread(thread) {}
    int max_size() const;
    void emit(C2_MacroAssembler& masm);
    Label& push_and_slow_path() { return _push_and_slow_path; }
    Label& check_successor() { return _check_successor; }
    Label& unlocked_continuation() { return _unlocked_continuation; }
< prev index next >