commit | 6a6570a312d4757d2a6555d40dd83c203e43d644 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Sep 13 22:42:03 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Sep 13 22:42:03 2009 +0000 |
tree | 6e0dd9f35cfffcdec291c1431f782e99435d24f9 | |
parent | 56d77c70229b9c1345a549d64edfef01f87500c2 [diff] [blame] |
kill off the last use of TRI::AsmName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81727 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index e60a945..6f0b3ca 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -2346,7 +2346,7 @@ for (TargetRegisterClass::iterator I = RC->begin(), E = RC->end(); I != E; ++I) { - if (StringsEqualNoCase(RegName, RI->get(*I).AsmName)) + if (StringsEqualNoCase(RegName, RI->getName(*I))) return std::make_pair(*I, RC); } }