summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCJITInfo.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-07-08 20:53:28 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-07-08 20:53:28 +0000
commitdac237e18209b697a8ba122d0ddd9cad4dfba1f8 (patch)
tree84addd27fd1610e6e8b5a9a82162914726abab4c /lib/Target/PowerPC/PPCJITInfo.cpp
parentd1fbd142945f5ef0c273c3d756431f8cb9d25ded (diff)
downloadllvm-dac237e18209b697a8ba122d0ddd9cad4dfba1f8.tar.gz
llvm-dac237e18209b697a8ba122d0ddd9cad4dfba1f8.tar.bz2
llvm-dac237e18209b697a8ba122d0ddd9cad4dfba1f8.tar.xz
Implement changes from Chris's feedback.
Finish converting lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCJITInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp
index 7486d74958..25f3785ad3 100644
--- a/lib/Target/PowerPC/PPCJITInfo.cpp
+++ b/lib/Target/PowerPC/PPCJITInfo.cpp
@@ -18,6 +18,8 @@
#include "llvm/Function.h"
#include "llvm/System/Memory.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/raw_ostream.h"
using namespace llvm;
static TargetJITInfo::JITCompilerFn JITCompilerFunction;
@@ -197,8 +199,7 @@ asm(
);
#else
void PPC32CompilationCallback() {
- assert(0 && "This is not a power pc, you can't execute this!");
- abort();
+ LLVM_UNREACHABLE("This is not a power pc, you can't execute this!");
}
#endif
@@ -264,8 +265,7 @@ asm(
);
#else
void PPC64CompilationCallback() {
- assert(0 && "This is not a power pc, you can't execute this!");
- abort();
+ LLVM_UNREACHABLE("This is not a power pc, you can't execute this!");
}
#endif