summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/fix_code.h')
-rw-r--r--byterun/fix_code.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/byterun/fix_code.h b/byterun/fix_code.h
new file mode 100644
index 000000000..c754fad27
--- /dev/null
+++ b/byterun/fix_code.h
@@ -0,0 +1,15 @@
+/* Translate a block of bytecode (endianness switch, threading). */
+
+#ifndef _fix_code_
+#define _fix_code_
+
+
+#include "misc.h"
+#include "mlvalues.h"
+
+void fixup_endianness P((code_t code, asize_t len));
+void thread_code P((code_t code, asize_t len, void * instr_table[]));
+
+
+#endif
+