summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 22:42:03 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 22:42:03 +0000
commit6a6570a312d4757d2a6555d40dd83c203e43d644 (patch)
tree6e0dd9f35cfffcdec291c1431f782e99435d24f9 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent56d77c70229b9c1345a549d64edfef01f87500c2 (diff)
downloadexternal_llvm-6a6570a312d4757d2a6555d40dd83c203e43d644.zip
external_llvm-6a6570a312d4757d2a6555d40dd83c203e43d644.tar.gz
external_llvm-6a6570a312d4757d2a6555d40dd83c203e43d644.tar.bz2
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ getRegForInlineAsmConstraint(const std::string &Constraint,
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);
}
}