src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.cpp
changeset 54763 2584e5772546
parent 54425 13c02cc7a6e5
child 54766 1321f8cf9de5
equal deleted inserted replaced
54762:64d9a4d582bc 54763:2584e5772546
     1 /*
     1 /*
     2  * Copyright (c) 2018, Red Hat, Inc. All rights reserved.
     2  * Copyright (c) 2018, 2019, Red Hat, Inc. All rights reserved.
     3  *
     3  *
     4  * This code is free software; you can redistribute it and/or modify it
     4  * This code is free software; you can redistribute it and/or modify it
     5  * under the terms of the GNU General Public License version 2 only, as
     5  * under the terms of the GNU General Public License version 2 only, as
     6  * published by the Free Software Foundation.
     6  * published by the Free Software Foundation.
     7  *
     7  *
   431   } else {
   431   } else {
   432     __ cset(result, Assembler::EQ);
   432     __ cset(result, Assembler::EQ);
   433   }
   433   }
   434 }
   434 }
   435 
   435 
       
   436 #undef __
       
   437 
   436 #ifdef COMPILER1
   438 #ifdef COMPILER1
   437 
   439 
   438 #undef __
       
   439 #define __ ce->masm()->
   440 #define __ ce->masm()->
   440 
   441 
   441 void ShenandoahBarrierSetAssembler::gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub) {
   442 void ShenandoahBarrierSetAssembler::gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub) {
   442   ShenandoahBarrierSetC1* bs = (ShenandoahBarrierSetC1*)BarrierSet::barrier_set()->barrier_set_c1();
   443   ShenandoahBarrierSetC1* bs = (ShenandoahBarrierSetC1*)BarrierSet::barrier_set()->barrier_set_c1();
   443   // At this point we know that marking is in progress.
   444   // At this point we know that marking is in progress.