[llvm-commits] [llvm] r75754 - /llvm/trunk/lib/Support/TargetRegistry.cpp
Daniel Dunbar
daniel at zuster.org
Wed Jul 15 00:37:50 PDT 2009
Author: ddunbar
Date: Wed Jul 15 02:37:49 2009
New Revision: 75754
URL: http://llvm.org/viewvc/llvm-project?rev=75754&view=rev
Log:
Fix stupid thinko
Modified:
llvm/trunk/lib/Support/TargetRegistry.cpp
Modified: llvm/trunk/lib/Support/TargetRegistry.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/TargetRegistry.cpp?rev=75754&r1=75753&r2=75754&view=diff
==============================================================================
--- llvm/trunk/lib/Support/TargetRegistry.cpp (original)
+++ llvm/trunk/lib/Support/TargetRegistry.cpp Wed Jul 15 02:37:49 2009
@@ -123,7 +123,7 @@
// Add to the list of targets.
T.Next = FirstTarget;
- FirstTarget = T.Next;
+ FirstTarget = &T;
T.Name = Name;
T.ShortDesc = ShortDesc;
More information about the llvm-commits
mailing list