src/cpu/sparc/vm/stubGenerator_sparc.cpp

changeset 1106
d0994e5bebce
parent 1079
c517646eef23
child 1162
6b2273dd6fa9
     1.1 --- a/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Tue Mar 24 15:09:52 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/stubGenerator_sparc.cpp	Thu Mar 26 14:31:45 2009 -0700
     1.3 @@ -817,21 +817,6 @@
     1.4    Label _atomic_add_stub;  // called from other stubs
     1.5  
     1.6  
     1.7 -  // Support for void OrderAccess::fence().
     1.8 -  //
     1.9 -  address generate_fence() {
    1.10 -    StubCodeMark mark(this, "StubRoutines", "fence");
    1.11 -    address start = __ pc();
    1.12 -
    1.13 -    __ membar(Assembler::Membar_mask_bits(Assembler::LoadLoad  | Assembler::LoadStore |
    1.14 -                                          Assembler::StoreLoad | Assembler::StoreStore));
    1.15 -    __ retl(false);
    1.16 -    __ delayed()->nop();
    1.17 -
    1.18 -    return start;
    1.19 -  }
    1.20 -
    1.21 -
    1.22    //------------------------------------------------------------------------------------------------------------------------
    1.23    // The following routine generates a subroutine to throw an asynchronous
    1.24    // UnknownError when an unsafe access gets a fault that could not be
    1.25 @@ -2861,7 +2846,6 @@
    1.26      StubRoutines::_atomic_cmpxchg_ptr_entry  = StubRoutines::_atomic_cmpxchg_entry;
    1.27      StubRoutines::_atomic_cmpxchg_long_entry = generate_atomic_cmpxchg_long();
    1.28      StubRoutines::_atomic_add_ptr_entry      = StubRoutines::_atomic_add_entry;
    1.29 -    StubRoutines::_fence_entry               = generate_fence();
    1.30  #endif  // COMPILER2 !=> _LP64
    1.31    }
    1.32  

mercurial