< prev index next > src/hotspot/cpu/ppc/gc/shenandoah/shenandoahBarrierSetAssembler_ppc.cpp
Print this page
#ifdef COMPILER1
#include "c1/c1_LIRAssembler.hpp"
#include "c1/c1_MacroAssembler.hpp"
#include "gc/shenandoah/c1/shenandoahBarrierSetC1.hpp"
#endif
+ #ifdef COMPILER2
+ #include "gc/shenandoah/c2/shenandoahBarrierSetC2.hpp"
+ #endif
#define __ masm->
void ShenandoahBarrierSetAssembler::satb_barrier(MacroAssembler *masm,
Register base, RegisterOrConstant ind_or_offs,
}
#undef __
#endif // COMPILER1
+
+ #ifdef COMPILER2
+
+ #undef __
+ #define __ masm.
+
+ bool ShenandoahBarrierStubC2::has_live_vector_registers() {
+ // TODO: Implement; currently assumes vector registers.
+ return true;
+ }
+
+ void ShenandoahBarrierStubC2::emit_code(MacroAssembler& masm) {
+ assert(_needs_keep_alive_barrier || _needs_load_ref_barrier, "Why are you here?");
+ Unimplemented();
+ }
+
+ void ShenandoahBarrierStubC2::post_init(int offset) {
+ // Do nothing.
+ }
+
+ #endif // COMPILER2
< prev index next >