[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 6 14:08:05 PDT 2003
Changes in directory llvm/lib/ExecutionEngine/JIT:
Emitter.cpp updated: 1.25 -> 1.26
---
Log message:
Actually _PASS IN_ NO_RESERVE if we have it.
Thanks to Brian for fixing this obvious oops
---
Diffs of the changes:
Index: llvm/lib/ExecutionEngine/JIT/Emitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.25 llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.26
--- llvm/lib/ExecutionEngine/JIT/Emitter.cpp:1.25 Wed Sep 10 15:52:05 2003
+++ llvm/lib/ExecutionEngine/JIT/Emitter.cpp Mon Oct 6 14:07:41 2003
@@ -71,7 +71,7 @@
#endif
void *pa = mmap(0, pageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
- MAP_PRIVATE|MAP_ANONYMOUS, fd, 0);
+ mmapFlags, fd, 0);
if (pa == MAP_FAILED) {
perror("mmap");
abort();
More information about the llvm-commits
mailing list