From 1c6633221ff3e44cfef4e7e93b22d6268dd33c2e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 15 Jul 2009 07:09:29 +0000 Subject: Address some review comments on TargetRegistry. llvm-svn: 75753 --- llvm/lib/Support/TargetRegistry.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Support/TargetRegistry.cpp index 24f87ce6821..258431a9372 100644 --- a/llvm/lib/Support/TargetRegistry.cpp +++ b/llvm/lib/Support/TargetRegistry.cpp @@ -11,9 +11,7 @@ #include using namespace llvm; -// FIXME: Worry about locking? In general everything should be registered at -// startup. - +// Clients are responsible for avoid race conditions in registration. static Target *FirstTarget = 0; const Target * -- cgit v1.2.3