aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Reader.cpp
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
commit021830bb0394332063e856e0a9e4b6179513133b (patch)
treef4264949eb2c5add78557f83222db751ea3ac15b /lib/Bytecode/Reader/Reader.cpp
parent4b70161b69ab4d038bee38970fafcb00d0a6b03b (diff)
Back out last changes for dataLayout. Much more work is needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/Reader.cpp')
-rw-r--r--lib/Bytecode/Reader/Reader.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index 355fc1df4c..efdb4f17d2 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/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.