mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
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
This commit is contained in:
parent
9bb451e721
commit
915ce8a02e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user