forked from OSchip/llvm-project
Turn off a debugging optimization that just slows bytecode reading down
llvm-svn: 3377
This commit is contained in:
parent
909b272663
commit
6a33371529
|
@ -613,7 +613,7 @@ Module *ParseBytecodeFile(const std::string &Filename, std::string *ErrorStr) {
|
||||||
free(FileData); return 0;
|
free(FileData); return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ALIGN_PTRS 1
|
#define ALIGN_PTRS 0
|
||||||
#if ALIGN_PTRS
|
#if ALIGN_PTRS
|
||||||
uchar *Buf = (uchar*)mmap(0, FileSize, PROT_READ|PROT_WRITE,
|
uchar *Buf = (uchar*)mmap(0, FileSize, PROT_READ|PROT_WRITE,
|
||||||
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
|
||||||
|
|
Loading…
Reference in New Issue