diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-11-10 04:41:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-11-10 04:41:34 +0000 |
| commit | d5e604dbb2dcbb6126738395e5aaa236a1664825 (patch) | |
| tree | 58420beb72bd4e25b52352a8656c1b30880f1d02 /llvm/lib/CodeGen | |
| parent | ce6455489a7b857d93075488cb5306f3006b21e5 (diff) | |
| download | bcm5719-llvm-d5e604dbb2dcbb6126738395e5aaa236a1664825.tar.gz bcm5719-llvm-d5e604dbb2dcbb6126738395e5aaa236a1664825.zip | |
commentate
llvm-svn: 31627
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 26f3bffe84b..3cddefe57e1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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(); |

