mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
c645a7ed35
The libjit library implements Just-In-Time compilation functionality. Unlike other JIT's, this one is designed to be independent of any particular virtual machine bytecode format or language. The hope is that Free Software projects can get a leg-up on proprietry VM vendors by using this library rather than spending large amounts of time writing their own JIT from scratch. This JIT is also designed to be portable to multiple archictures. If you run libjit on a machine for which a native code generator is not yet available, then libjit will fall back to interpreting the code. This way, you don't need to write your own interpreter for your bytecode format if you don't want to. PR: ports/66038 Submitted by: michael johnson <ahze@ahze.net>
13 lines
282 B
Plaintext
13 lines
282 B
Plaintext
--- jit/jit-insn.c.orig Tue Apr 27 00:22:44 2004
|
|
+++ jit/jit-insn.c Tue Apr 27 00:23:09 2004
|
|
@@ -21,6 +21,9 @@
|
|
#include "jit-internal.h"
|
|
#include "jit-rules.h"
|
|
#include <config.h>
|
|
+#ifdef __FreeBSD__
|
|
+ #include <stdlib.h>
|
|
+#endif
|
|
#if HAVE_ALLOCA_H
|
|
#include <alloca.h>
|
|
#endif
|