diff options
Diffstat (limited to 'lib/CodeGen/JumpInstrTables.cpp')
-rw-r--r-- | lib/CodeGen/JumpInstrTables.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/JumpInstrTables.cpp b/lib/CodeGen/JumpInstrTables.cpp index 20f775c..75fa261 100644 --- a/lib/CodeGen/JumpInstrTables.cpp +++ b/lib/CodeGen/JumpInstrTables.cpp @@ -13,7 +13,6 @@ #define DEBUG_TYPE "jt" #include "llvm/CodeGen/JumpInstrTables.h" - #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/JumpInstrTableInfo.h" #include "llvm/CodeGen/Passes.h" @@ -30,7 +29,6 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" - #include <vector> using namespace llvm; @@ -117,8 +115,8 @@ bool replaceGlobalValueIndirectUse(GlobalValue *GV, Value *V, Use *U) { if (!isa<GlobalAlias>(C)) C->replaceUsesOfWithOnConstant(GV, V, U); } else { - assert(false && "The Use of a Function symbol is neither an instruction nor" - " a constant"); + llvm_unreachable("The Use of a Function symbol is neither an instruction " + "nor a constant"); } return true; |