mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
InferAddressSpaces: Remove redundant assert
This is just asserting all the operations are handled in the switch, which the unreachable already handles. llvm-svn: 301270
This commit is contained in:
parent
61cee25d5f
commit
9a8d6b35cf
@ -204,7 +204,6 @@ static bool isAddressExpression(const Value &V) {
|
||||
//
|
||||
// Precondition: V is an address expression.
|
||||
static SmallVector<Value *, 2> getPointerOperands(const Value &V) {
|
||||
assert(isAddressExpression(V));
|
||||
const Operator &Op = cast<Operator>(V);
|
||||
switch (Op.getOpcode()) {
|
||||
case Instruction::PHI: {
|
||||
|
Loading…
Reference in New Issue
Block a user