diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 6af1f610e05..371a8a0deec 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -491,6 +491,7 @@ Andersens::Node *Andersens::getNodeForConstantPointer(Constant *C) { } else { assert(0 && "Unknown constant pointer!"); } + return 0; } /// getNodeForConstantPointerTarget - Return the node POINTED TO by the @@ -518,6 +519,7 @@ Andersens::Node *Andersens::getNodeForConstantPointerTarget(Constant *C) { } else { assert(0 && "Unknown constant pointer!"); } + return 0; } /// AddGlobalInitializerConstraints - Add inclusion constraints for the memory