diff options
Diffstat (limited to 'byterun/fix_code.h')
-rw-r--r-- | byterun/fix_code.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/byterun/fix_code.h b/byterun/fix_code.h index c6ff34d27..b26f0fc71 100644 --- a/byterun/fix_code.h +++ b/byterun/fix_code.h @@ -11,7 +11,7 @@ /* $Id$ */ -/* Translate a block of bytecode (endianness switch, threading). */ +/* Handling of blocks of bytecode (endianness switch, threading). */ #ifndef _fix_code_ #define _fix_code_ @@ -21,12 +21,17 @@ #include "misc.h" #include "mlvalues.h" +extern code_t start_code; +extern asize_t code_size; +extern unsigned char * saved_code; #ifdef THREADED_CODE extern void ** instr_table; #endif +void load_code P((int fd, asize_t len)); void fixup_endianness P((code_t code, asize_t len)); void thread_code P((code_t code, asize_t len)); +void set_instruction P((code_t pos, opcode_t instr)); #endif |