Fix Visual Studio 2008 build failure.
Patch by Marius Wachtler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69637 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 847a1c9..968773f 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@ -1164,9 +1164,9 @@
void AddVariable(DbgVariable *V) { Variables.push_back(V); }
virtual bool isInlinedSubroutine() { return false; }
- virtual unsigned getLine() { assert ( 0 && "Unexpected scope!"); }
- virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); }
- virtual unsigned getFile() { assert ( 0 && "Unexpected scope!"); }
+ virtual unsigned getLine() { assert ( 0 && "Unexpected scope!"); return 0; }
+ virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); return 0; }
+ virtual unsigned getFile() { assert ( 0 && "Unexpected scope!"); return 0; }
};