Turn off a debugging optimization that just slows bytecode reading down
authorChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:38:32 +0000 (00:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:38:32 +0000 (00:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3377 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/Reader.cpp

index 0e406259769c5c306aab8905e78858f119b36568..bbffb1760ee775b6c3851a921e49ec0921cf3be6 100644 (file)
@@ -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);