summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-19 00:07:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-19 00:07:16 +0000
commitc043b437b38ae3a2d104a967451a76dcd740c22d (patch)
treef350e75cdcebc2b8b0cc8ad7c06d19075282ccd8 /llvm/lib/Bytecode/Reader
parent650d292f89643aad10a447747286ba4b07182635 (diff)
downloadbcm5719-llvm-c043b437b38ae3a2d104a967451a76dcd740c22d.tar.gz
bcm5719-llvm-c043b437b38ae3a2d104a967451a76dcd740c22d.zip
Back out last changes for dataLayout. Much more work is needed.
llvm-svn: 33347
Diffstat (limited to 'llvm/lib/Bytecode/Reader')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp
index 355fc1df4c0..efdb4f17d26 100644
--- a/llvm/lib/Bytecode/Reader/Reader.cpp
+++ b/llvm/lib/Bytecode/Reader/Reader.cpp
@@ -2013,13 +2013,6 @@ void BytecodeReader::ParseModuleGlobalInfo() {
TheModule->setTargetTriple(triple);
if (Handler)
Handler->handleTargetTriple(triple);
-
- // Read the data layout string and place into the module.
- std::string datalayout = read_str();
- TheModule->setDataLayout(datalayout);
- // FIXME: Implement
- // if (Handler)
- // Handler->handleDataLayout(datalayout);
if (At != BlockEnd) {
// If the file has section info in it, read the section names now.
OpenPOWER on IntegriCloud