[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp
Chris Lattner
sabre at nondot.org
Sun Jan 28 18:18:29 PST 2007
Changes in directory llvm/lib/Linker:
LinkModules.cpp updated: 1.128 -> 1.129
---
Log message:
Read from the right place.
---
Diffs of the changes: (+1 -1)
LinkModules.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Linker/LinkModules.cpp
diff -u llvm/lib/Linker/LinkModules.cpp:1.128 llvm/lib/Linker/LinkModules.cpp:1.129
--- llvm/lib/Linker/LinkModules.cpp:1.128 Sun Jan 28 18:21:34 2007
+++ llvm/lib/Linker/LinkModules.cpp Sun Jan 28 20:18:13 2007
@@ -851,7 +851,7 @@
if (Dest->getDataLayout().empty()) {
if (!Src->getDataLayout().empty()) {
- Dest->setDataLayout(Src->getTargetTriple());
+ Dest->setDataLayout(Src->getDataLayout());
} else {
std::string DataLayout;
More information about the llvm-commits
mailing list