[GC] Make GCStrategy::isGCManagedPointer a type predicate not a value predicate ...
[oota-llvm.git] / lib / Transforms / Scalar / RewriteStatepointsForGC.cpp
index 062fba5cdad8a6c12bfa850b989384564e089cae..0a61d4b5da0f579f89cb8d1d2f1c597f8a74fd60 100644 (file)
@@ -215,7 +215,7 @@ static void findLiveSetAtInst(Instruction *inst, GCPtrLivenessData &Data,
                               StatepointLiveSetTy &out);
 
 // TODO: Once we can get to the GCStrategy, this becomes
-// Optional<bool> isGCManagedPointer(const Value *V) const override {
+// Optional<bool> isGCManagedPointer(const Type *Ty) const override {
 
 static bool isGCPointerType(Type *T) {
   if (auto *PT = dyn_cast<PointerType>(T))