aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-15 07:37:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-15 07:37:49 +0000
commit0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08 (patch)
tree4f9b56aa475a38fbd36f588b7e19265b7beb35c7 /lib/Support
parent988af81287556deb2c579ad8d063679c87a84dfe (diff)
downloadexternal_llvm-0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08.zip
external_llvm-0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08.tar.gz
external_llvm-0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08.tar.bz2
Fix stupid thinko
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/TargetRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/TargetRegistry.cpp b/lib/Support/TargetRegistry.cpp
index 258431a..258d703 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;