Fix mmap usage.
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>
Mon, 22 Oct 2012 13:03:48 +0000 (15:03 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 22 Oct 2012 14:16:38 +0000 (16:16 +0200)
commit88087611ef6d0c4800de756a850496085c41c282
treecb9cf530d6abec387ba7581b2dc8bbb2367d82c3
parentea49fb971145d66f2b58df63fb1c0a95fe59db6a
Fix mmap usage.

Add missing MAP_NORESERVE, and fix error checking.

Special thanks to Olivier JG for debugging the issue.

Task-number: QTBUG-27322
Change-Id: Ic4d5aa5849b9b5500fd3065aad5c86dd089a850b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp