< prev index next >
src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp
Print this page
@@ -196,11 +196,11 @@
Register tmp1,
Register tmp2) {
BLOCK_COMMENT("ZBarrierSetAssembler::store_at {");
// Verify oop store
- if (type == T_OBJECT || type == T_ARRAY) {
+ if (is_reference_type(type)) {
// Note that src could be noreg, which means we
// are storing null and can skip verification.
if (src != noreg) {
Label done;
__ testptr(src, address_bad_mask_from_thread(r15_thread));
< prev index next >