mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 04:51:23 +00:00
commentate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4eab71497d
commit
1e7aa5c209
@ -458,6 +458,8 @@ public:
|
||||
void visit(Instruction &I) { visit(I.getOpcode(), I); }
|
||||
|
||||
void visit(unsigned Opcode, User &I) {
|
||||
// Note: this doesn't use InstVisitor, because it has to work with
|
||||
// ConstantExpr's in addition to instructions.
|
||||
switch (Opcode) {
|
||||
default: assert(0 && "Unknown instruction type encountered!");
|
||||
abort();
|
||||
|
Loading…
Reference in New Issue
Block a user