summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-04-21 00:08:56 +0000
committerDevang Patel <dpatel@apple.com>2009-04-21 00:08:56 +0000
commit7f413cb05fec190d8e7b46acb98d3ef0f5e3b713 (patch)
treeb1644c85b49ad6e2908374bebd62222fd5ac2f86 /llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent44ea0b2e0e9cac2d34c13d971ac7179619cfde34 (diff)
downloadbcm5719-llvm-7f413cb05fec190d8e7b46acb98d3ef0f5e3b713.tar.gz
bcm5719-llvm-7f413cb05fec190d8e7b46acb98d3ef0f5e3b713.zip
Fix Visual Studio 2008 build failure.
Patch by Marius Wachtler llvm-svn: 69637
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 847a1c9ba6d..968773f9e42 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/llvm/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; }
};
OpenPOWER on IntegriCloud