forked from OSchip/llvm-project
[Safepoint Verifier] Add a missed comment to previous commit.
This commit is contained in:
parent
57092d4f4f
commit
cd16836ce2
|
@ -358,6 +358,8 @@ static enum BaseType getBaseType(const Value *Val) {
|
|||
continue;
|
||||
}
|
||||
if (const auto *GCRelocate = dyn_cast<GCRelocateInst>(V)) {
|
||||
// GCRelocates do not change null-ness or constant-ness of the value.
|
||||
// So we can continue with derived pointer this instruction relocates.
|
||||
Worklist.push_back(GCRelocate->getDerivedPtr());
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue