mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
commentate
llvm-svn: 31627
This commit is contained in:
parent
1604b6a873
commit
efb62464b9
@ -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…
x
Reference in New Issue
Block a user