diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-07-08 19:04:27 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-07-08 19:04:27 +0000 |
commit | 804e0fea4033e3b91dbc8198cef30de30f141bb5 (patch) | |
tree | 5a0a48c149464165b7df8e87980b51c5964f9f46 /lib/Target/PIC16/PIC16ISelLowering.cpp | |
parent | e9b11b431308f4766b73cda93e38ec930c912122 (diff) |
Convert more abort() calls to llvm_report_error().
Also remove trailing semicolon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16ISelLowering.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp index 0d24f61c49..8ad61aed58 100644 --- a/lib/Target/PIC16/PIC16ISelLowering.cpp +++ b/lib/Target/PIC16/PIC16ISelLowering.cpp @@ -23,6 +23,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include "llvm/Support/ErrorHandling.h" using namespace llvm; @@ -1227,8 +1228,7 @@ SDValue PIC16TargetLowering::LowerRET(SDValue Op, SelectionDAG &DAG) { // return should have odd number of operands if ((Op.getNumOperands() % 2) == 0 ) { - assert(0 && "Do not know how to return this many arguments!"); - abort(); + LLVM_UNREACHABLE("Do not know how to return this many arguments!"); } // Number of values to return |