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 | 0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08 (patch) | |
tree | 4f9b56aa475a38fbd36f588b7e19265b7beb35c7 /lib/Support | |
parent | 988af81287556deb2c579ad8d063679c87a84dfe (diff) | |
download | external_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.cpp | 2 |
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; |