1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Read from the right place.

llvm-svn: 33611
This commit is contained in:
Chris Lattner 2007-01-29 02:18:13 +00:00
parent e9c8a05b70
commit b7ffc667c3

View File

@ -851,7 +851,7 @@ Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) {
if (Dest->getDataLayout().empty()) {
if (!Src->getDataLayout().empty()) {
Dest->setDataLayout(Src->getTargetTriple());
Dest->setDataLayout(Src->getDataLayout());
} else {
std::string DataLayout;