Fix the condition in this assertion, and also make it into an unreachable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226843 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2015-01-22 17:52:08 +00:00
parent 2e96653b54
commit 5196540da1

View File

@ -904,7 +904,7 @@ public:
case dwarf::DW_OP_plus: std::advance(I, 2); break;
case dwarf::DW_OP_deref: std::advance(I, 1); break;
default:
assert("unsupported operand");
llvm_unreachable("unsupported operand");
}
}
};