We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd8d23 commit b2c44aeCopy full SHA for b2c44ae
1 file changed
lib/Backend/Opnd.cpp
@@ -91,7 +91,7 @@ Opnd::IsWriteBarrierTriggerableValue()
91
// If this operand is known address, then it doesn't need a write barrier, the address is either not a GC address or is pinned
92
// If its null/boolean/undefined, we don't need a write barrier since the javascript library will keep those guys alive
93
return this->IsNotTaggedValue() &&
94
- !((this->IsAddrOpnd() && static_cast<AddrOpndKind>(this->AsAddrOpnd()->GetKind()) == AddrOpndKindDynamicVar) ||
+ !((this->IsAddrOpnd() && this->AsAddrOpnd()->GetAddrOpndKind() == AddrOpndKindDynamicVar) ||
95
(this->GetValueType().IsBoolean() || this->GetValueType().IsNull() || this->GetValueType().IsUndefined()));
96
}
97
0 commit comments