summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-18 00:38:32 +0000
committerChris Lattner <sabre@nondot.org>2002-08-18 00:38:32 +0000
commit6a333715291001cc7caefbc04cec2473411c1883 (patch)
tree5232ce1ea38d8da64e8edfe29e3947331c7c37ba /llvm/lib/Bytecode/Reader/Reader.cpp
parent909b272663a7c1b13882cbcb5cdb54bf26daf918 (diff)
downloadbcm5719-llvm-6a333715291001cc7caefbc04cec2473411c1883.tar.gz
bcm5719-llvm-6a333715291001cc7caefbc04cec2473411c1883.zip
Turn off a debugging optimization that just slows bytecode reading down
llvm-svn: 3377
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.cpp b/llvm/lib/Bytecode/Reader/Reader.cpp
index 0e406259769..bbffb1760ee 100644
--- a/llvm/lib/Bytecode/Reader/Reader.cpp
+++ b/llvm/lib/Bytecode/Reader/Reader.cpp
@@ -613,7 +613,7 @@ Module *ParseBytecodeFile(const std::string &Filename, std::string *ErrorStr) {
free(FileData); return 0;
}
-#define ALIGN_PTRS 1
+#define ALIGN_PTRS 0
#if ALIGN_PTRS
uchar *Buf = (uchar*)mmap(0, FileSize, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
OpenPOWER on IntegriCloud