diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 07:37:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 07:37:49 +0000 |
commit | f23d4930bdd5ee00354883f8756388573fa43e88 (patch) | |
tree | 4f9b56aa475a38fbd36f588b7e19265b7beb35c7 | |
parent | 73b3ec41349511dbf28c18997e3f64761ff0f114 (diff) |
Fix stupid thinko
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75754 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/TargetRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/TargetRegistry.cpp b/lib/Support/TargetRegistry.cpp index 258431a937..258d703d16 100644 --- a/lib/Support/TargetRegistry.cpp +++ b/lib/Support/TargetRegistry.cpp @@ -123,7 +123,7 @@ void TargetRegistry::RegisterTarget(Target &T, // Add to the list of targets. T.Next = FirstTarget; - FirstTarget = T.Next; + FirstTarget = &T; T.Name = Name; T.ShortDesc = ShortDesc; |