diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-17 21:28:48 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2007-10-17 21:28:48 +0000 |
commit | 4b2b9402c5c369b94b35837470a170f1d0e47e1f (patch) | |
tree | 5f0c38c4df8b5af99a370ea44782b1b57eba756a /lib/Target/CBackend/CBackend.cpp | |
parent | 9080aaba0b8d4f313c70913c5a93ddd2bda22170 (diff) |
Switching TargetMachineRegistry to use the new generic Registry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 35205c6edb..f874a182f0 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -2684,7 +2684,7 @@ std::string CWriter::InterpretASMConstraint(InlineAsm::ConstraintInfo& c) { //Grab the translation table from TargetAsmInfo if it exists if (!TAsm) { std::string E; - const TargetMachineRegistry::Entry* Match = + const TargetMachineRegistry::entry* Match = TargetMachineRegistry::getClosestStaticTargetForModule(*TheModule, E); if (Match) { //Per platform Target Machines don't exist, so create it |