projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of static constructors for pass registration. Instead, every pass exposes...
[oota-llvm.git]
/
lib
/
Target
/
TargetData.cpp
diff --git
a/lib/Target/TargetData.cpp
b/lib/Target/TargetData.cpp
index 4d1fc0eb96656ee24d35ce7595afb7e2cdb83329..6289f4293bfa5b9c48be3dee7e0f98f33b916cd5 100644
(file)
--- a/
lib/Target/TargetData.cpp
+++ b/
lib/Target/TargetData.cpp
@@
-131,6
+131,8
@@
static unsigned getInt(StringRef R) {
}
void TargetData::init(StringRef Desc) {
+ initializeTargetDataPass(*PassRegistry::getPassRegistry());
+
LayoutMap = 0;
LittleEndian = false;
PointerMemSize = 8;