From: Chris Lattner Date: Sun, 18 Aug 2002 00:38:32 +0000 (+0000) Subject: Turn off a debugging optimization that just slows bytecode reading down X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=915ce8a02ebefd02b3c34a43267aae5c608ee170;p=oota-llvm.git 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 --- diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 0e406259769..bbffb1760ee 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);