@@ -125,11 +125,11 @@ Address dst, Register val, Register tmp1, Register tmp2) { // Verify value - 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 (val != noreg) { Label done;