Skip to content

Commit 4231f71

Browse files
committed
Merge from mainline.
Fix a compile error on compilers that still want a return value in a non-void function that calls abort. llvm-svn: 50982
1 parent 1621e89 commit 4231f71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4987,6 +4987,7 @@ SDOperand X86TargetLowering::LowerVAARG(SDOperand Op, SelectionDAG &DAG) {
49874987

49884988
assert(0 && "VAArgInst is not yet implemented for x86-64!");
49894989
abort();
4990+
return SDOperand();
49904991
}
49914992

49924993
SDOperand X86TargetLowering::LowerVACOPY(SDOperand Op, SelectionDAG &DAG) {

0 commit comments

Comments
 (0)