diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-07-08 20:53:28 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-07-08 20:53:28 +0000 |
commit | dac237e18209b697a8ba122d0ddd9cad4dfba1f8 (patch) | |
tree | 84addd27fd1610e6e8b5a9a82162914726abab4c /lib/Target/ARM/ARMJITInfo.cpp | |
parent | d1fbd142945f5ef0c273c3d756431f8cb9d25ded (diff) |
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/ARM/ARMJITInfo.cpp')
-rw-r--r-- | lib/Target/ARM/ARMJITInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMJITInfo.cpp b/lib/Target/ARM/ARMJITInfo.cpp index bc28919817..c9e04c9506 100644 --- a/lib/Target/ARM/ARMJITInfo.cpp +++ b/lib/Target/ARM/ARMJITInfo.cpp @@ -123,12 +123,12 @@ extern "C" void ARMCompilationCallbackC(intptr_t StubAddr) { // ldr pc, [pc,#-4] // <addr> if (!sys::Memory::setRangeWritable((void*)StubAddr, 8)) { - llvm_report_error("ERROR: Unable to mark stub writable"); + LLVM_UNREACHABLE("ERROR: Unable to mark stub writable"); } *(intptr_t *)StubAddr = 0xe51ff004; // ldr pc, [pc, #-4] *(intptr_t *)(StubAddr+4) = NewVal; if (!sys::Memory::setRangeExecutable((void*)StubAddr, 8)) { - llvm_report_error("ERROR: Unable to mark stub executable"); + LLVM_UNREACHABLE("ERROR: Unable to mark stub executable"); } } |