diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-07 03:13:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 03:13:06 +0000 |
| commit | b0d06b438175f22a2c680fb07e0b02a0798876e1 (patch) | |
| tree | 4ba87d89d2bbfd3f142fdf00f5fd53b0a2a957ae /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | f0f438a51740a13c10e3aebdeffaaade53f72ba7 (diff) | |
| download | bcm5719-llvm-b0d06b438175f22a2c680fb07e0b02a0798876e1.tar.gz bcm5719-llvm-b0d06b438175f22a2c680fb07e0b02a0798876e1.zip | |
Move a bunch more accessors from TargetInstrInfo to TargetInstrDescriptor
llvm-svn: 45680
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 74a506c24df..22065156497 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3602,7 +3602,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { if (G) { if (const TargetInstrInfo *TII = G->getTarget().getInstrInfo()) if (getOpcode()-ISD::BUILTIN_OP_END < TII->getNumOpcodes()) - return TII->getName(getOpcode()-ISD::BUILTIN_OP_END); + return TII->get(getOpcode()-ISD::BUILTIN_OP_END).getName(); TargetLowering &TLI = G->getTargetLoweringInfo(); const char *Name = |

