hotspot/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp
changeset 15482 470d0b0c09f1
parent 14837 a75c3082d106
child 16611 6807a703dd6b
equal deleted inserted replaced
15224:0f9e3436040d 15482:470d0b0c09f1
    28 #include "c1/c1_LIRAssembler.hpp"
    28 #include "c1/c1_LIRAssembler.hpp"
    29 #include "c1/c1_MacroAssembler.hpp"
    29 #include "c1/c1_MacroAssembler.hpp"
    30 #include "c1/c1_Runtime1.hpp"
    30 #include "c1/c1_Runtime1.hpp"
    31 #include "nativeInst_sparc.hpp"
    31 #include "nativeInst_sparc.hpp"
    32 #include "runtime/sharedRuntime.hpp"
    32 #include "runtime/sharedRuntime.hpp"
       
    33 #include "utilities/macros.hpp"
    33 #include "vmreg_sparc.inline.hpp"
    34 #include "vmreg_sparc.inline.hpp"
    34 #ifndef SERIALGC
    35 #if INCLUDE_ALL_GCS
    35 #include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
    36 #include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp"
    36 #endif
    37 #endif // INCLUDE_ALL_GCS
    37 
    38 
    38 #define __ ce->masm()->
    39 #define __ ce->masm()->
    39 
    40 
    40 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
    41 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
    41                                bool throw_index_out_of_bounds_exception)
    42                                bool throw_index_out_of_bounds_exception)
   418   __ delayed()->nop();
   419   __ delayed()->nop();
   419 }
   420 }
   420 
   421 
   421 
   422 
   422 ///////////////////////////////////////////////////////////////////////////////////
   423 ///////////////////////////////////////////////////////////////////////////////////
   423 #ifndef SERIALGC
   424 #if INCLUDE_ALL_GCS
   424 
   425 
   425 void G1PreBarrierStub::emit_code(LIR_Assembler* ce) {
   426 void G1PreBarrierStub::emit_code(LIR_Assembler* ce) {
   426   // At this point we know that marking is in progress.
   427   // At this point we know that marking is in progress.
   427   // If do_load() is true then we have to emit the
   428   // If do_load() is true then we have to emit the
   428   // load of the previous value; otherwise it has already
   429   // load of the previous value; otherwise it has already
   481   __ delayed()->mov(addr_reg, G4);
   482   __ delayed()->mov(addr_reg, G4);
   482   __ br(Assembler::always, false, Assembler::pt, _continuation);
   483   __ br(Assembler::always, false, Assembler::pt, _continuation);
   483   __ delayed()->nop();
   484   __ delayed()->nop();
   484 }
   485 }
   485 
   486 
   486 #endif // SERIALGC
   487 #endif // INCLUDE_ALL_GCS
   487 ///////////////////////////////////////////////////////////////////////////////////
   488 ///////////////////////////////////////////////////////////////////////////////////
   488 
   489 
   489 #undef __
   490 #undef __