< prev index next >
src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp
Print this page
@@ -205,11 +205,11 @@
assert(pre_val != NULL, "must be loaded already");
// Nothing to be done if pre_val is null.
if (pre_val->bottom_type() == TypePtr::NULL_PTR) return;
assert(pre_val->bottom_type()->basic_type() == T_OBJECT, "or we shouldn't be here");
}
- assert(bt == T_OBJECT, "or we shouldn't be here");
+ assert(bt == T_OBJECT || bt == T_VALUETYPE, "or we shouldn't be here");
IdealKit ideal(kit, true);
Node* tls = __ thread(); // ThreadLocalStorage
< prev index next >