Address some review comments on TargetRegistry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-07-15 07:09:29 +00:00
parent b5a8c08bb1
commit 73b3ec4134
2 changed files with 19 additions and 5 deletions
+1 -3
View File
@@ -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 *