src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp
changeset 54763 2584e5772546
parent 54755 de34f4b370b0
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  *
   723     }
   723     }
   724 #endif
   724 #endif
   725   }
   725   }
   726 }
   726 }
   727 
   727 
       
   728 #undef __
       
   729 
   728 #ifdef COMPILER1
   730 #ifdef COMPILER1
   729 
   731 
   730 #undef __
       
   731 #define __ ce->masm()->
   732 #define __ ce->masm()->
   732 
   733 
   733 void ShenandoahBarrierSetAssembler::gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub) {
   734 void ShenandoahBarrierSetAssembler::gen_pre_barrier_stub(LIR_Assembler* ce, ShenandoahPreBarrierStub* stub) {
   734   ShenandoahBarrierSetC1* bs = (ShenandoahBarrierSetC1*)BarrierSet::barrier_set()->barrier_set_c1();
   735   ShenandoahBarrierSetC1* bs = (ShenandoahBarrierSetC1*)BarrierSet::barrier_set()->barrier_set_c1();
   735   // At this point we know that marking is in progress.
   736   // At this point we know that marking is in progress.