< prev index next >
src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp
Print this page
rev 50536 : [mq]: rename_on_root
@@ -30,11 +30,11 @@
#define __ masm->
void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
Register dst, Address src, Register tmp1, Register tmp_thread) {
bool on_heap = (decorators & IN_HEAP) != 0;
- bool on_root = (decorators & IN_NATIVE) != 0;
+ bool in_native = (decorators & IN_NATIVE) != 0;
bool oop_not_null = (decorators & OOP_NOT_NULL) != 0;
bool atomic = (decorators & MO_RELAXED) != 0;
switch (type) {
case T_OBJECT:
@@ -52,11 +52,11 @@
#endif
{
__ movptr(dst, src);
}
} else {
- assert(on_root, "why else?");
+ assert(in_native, "why else?");
__ movptr(dst, src);
}
break;
}
case T_BOOLEAN: __ load_unsigned_byte(dst, src); break;
@@ -95,11 +95,11 @@
}
void BarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
Address dst, Register val, Register tmp1, Register tmp2) {
bool on_heap = (decorators & IN_HEAP) != 0;
- bool on_root = (decorators & IN_NATIVE) != 0;
+ bool in_native = (decorators & IN_NATIVE) != 0;
bool oop_not_null = (decorators & OOP_NOT_NULL) != 0;
bool atomic = (decorators & MO_RELAXED) != 0;
switch (type) {
case T_OBJECT:
@@ -131,11 +131,11 @@
{
__ movptr(dst, val);
}
}
} else {
- assert(on_root, "why else?");
+ assert(in_native, "why else?");
assert(val != noreg, "not supported");
__ movptr(dst, val);
}
break;
}
< prev index next >