mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Fixed a few illegal paths with llvm_unreachable. Patch by Cameron McInally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b5c20bbb8
commit
36a300ac02
@ -19,9 +19,10 @@
|
||||
|
||||
#include "FastISelEmitter.h"
|
||||
#include "Record.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/VectorExtras.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
@ -278,8 +279,7 @@ struct OperandsSignature {
|
||||
} else if (Operands[i].isFP()) {
|
||||
OS << "ConstantFP *f" << i;
|
||||
} else {
|
||||
assert("Unknown operand kind!");
|
||||
abort();
|
||||
llvm_unreachable("Unknown operand kind!");
|
||||
}
|
||||
if (i + 1 != e)
|
||||
OS << ", ";
|
||||
@ -307,8 +307,7 @@ struct OperandsSignature {
|
||||
OS << "f" << i;
|
||||
PrintedArg = true;
|
||||
} else {
|
||||
assert("Unknown operand kind!");
|
||||
abort();
|
||||
llvm_unreachable("Unknown operand kind!");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -322,8 +321,7 @@ struct OperandsSignature {
|
||||
} else if (Operands[i].isFP()) {
|
||||
OS << "f" << i;
|
||||
} else {
|
||||
assert("Unknown operand kind!");
|
||||
abort();
|
||||
llvm_unreachable("Unknown operand kind!");
|
||||
}
|
||||
if (i + 1 != e)
|
||||
OS << ", ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user