aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/TargetRegistry.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-15 07:09:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-15 07:09:29 +0000
commit73b3ec41349511dbf28c18997e3f64761ff0f114 (patch)
tree1f0abffc088fd7821f27669709ce333bfb9417f2 /lib/Support/TargetRegistry.cpp
parentb5a8c08bb1d13f371d1a813174fa157a8777d95e (diff)
Address some review comments on TargetRegistry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/TargetRegistry.cpp')
-rw-r--r--lib/Support/TargetRegistry.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Support/TargetRegistry.cpp b/lib/Support/TargetRegistry.cpp
index 24f87ce682..258431a937 100644
--- a/lib/Support/TargetRegistry.cpp
+++ b/lib/Support/TargetRegistry.cpp
@@ -11,9 +11,7 @@
#include <cassert>
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 *