fix Transforms/Inline/2007-06-25-WeakInline.ll by not inlining functions
[oota-llvm.git] / tools / llvm-prof / llvm-prof.cpp
index f88f1fcc02846d040eac6a9193dccc74316e473d..c85b0da1bc6cdb06618f2983934c2094547427d6 100644 (file)
@@ -117,7 +117,7 @@ int main(int argc, char **argv) {
 
     // Read in the bytecode file...
     std::string ErrorMessage;
-    Module *M;
+    Module *M = 0;
     if (MemoryBuffer *Buffer = MemoryBuffer::getFileOrSTDIN(BytecodeFile,
                                                             &ErrorMessage)) {
       M = ParseBitcodeFile(Buffer, &ErrorMessage);