aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-12 16:17:19 +0000
committerDan Gohman <gohman@apple.com>2008-05-12 16:17:19 +0000
commit2ce3898e410e2b9c155d52fb42a6614eadafca9e (patch)
treef1c3f65ab3ab587e47334e37d8613b09497d78a8
parent9ab9ee8209c313713a54db2d9451751d8cfb9e2a (diff)
Fix a compile error on compilers that still want a return value
in a non-void function that calls abort. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50969 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 307aeae1b2..4e3db7e9ea 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -4987,6 +4987,7 @@ SDOperand X86TargetLowering::LowerVAARG(SDOperand Op, SelectionDAG &DAG) {
assert(0 && "VAArgInst is not yet implemented for x86-64!");
abort();
+ return SDOperand();
}
SDOperand X86TargetLowering::LowerVACOPY(SDOperand Op, SelectionDAG &DAG) {