aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
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
commit915ce8a02ebefd02b3c34a43267aae5c608ee170 (patch)
tree32576a56fa2c353ee8e3c56d4dcbe3a7ec99340d /lib/Bytecode
parent9bb451e721b747e83835d50dfe5ba8485c375bcf (diff)
downloadexternal_llvm-915ce8a02ebefd02b3c34a43267aae5c608ee170.zip
external_llvm-915ce8a02ebefd02b3c34a43267aae5c608ee170.tar.gz
external_llvm-915ce8a02ebefd02b3c34a43267aae5c608ee170.tar.bz2
Turn off a debugging optimization that just slows bytecode reading down
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index 0e40625..bbffb17 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/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);