17e560f7ba
- enable jit. currently on i386, arm, sparc tested by naddy@ javascript performance more than 2x faster, according to sunspider benchmark
12 lines
375 B
Plaintext
12 lines
375 B
Plaintext
$OpenBSD: patch-js_src_nanojit_Nativei386_cpp,v 1.1 2009/07/20 23:41:34 martynas Exp $
|
|
--- js/src/nanojit/Nativei386.cpp.orig Wed Jul 15 18:34:51 2009
|
|
+++ js/src/nanojit/Nativei386.cpp Tue Jul 21 02:36:35 2009
|
|
@@ -44,6 +44,7 @@
|
|
#endif
|
|
|
|
#if defined AVMPLUS_UNIX || defined AVMPLUS_MAC
|
|
+#include <sys/types.h>
|
|
#include <sys/mman.h>
|
|
#include <errno.h>
|
|
#include <stdlib.h>
|