diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-21 00:08:56 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-21 00:08:56 +0000 |
commit | 3e3702d00b2ce4c9c1fed41c05f9968414ff5819 (patch) | |
tree | 91443cbb595be6a71861c2989b0bbc4229630d2a /lib/CodeGen/AsmPrinter/DwarfWriter.cpp | |
parent | 70bc17dbf5a991ce8f8f5285f61c352fb55b533d (diff) |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 847a1c9ba6..968773f9e4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -1164,9 +1164,9 @@ public: 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; } }; |