1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
/* Translate a block of bytecode (endianness switch, threading). */
|
|
|
|
|
|
|
|
#ifndef _fix_code_
|
|
|
|
#define _fix_code_
|
|
|
|
|
|
|
|
|
1996-05-28 05:41:37 -07:00
|
|
|
#include "config.h"
|
1995-05-04 03:15:53 -07:00
|
|
|
#include "misc.h"
|
|
|
|
#include "mlvalues.h"
|
|
|
|
|
1996-05-28 05:41:37 -07:00
|
|
|
#ifdef THREADED_CODE
|
|
|
|
void ** instr_table;
|
|
|
|
#endif
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
void fixup_endianness P((code_t code, asize_t len));
|
1996-05-28 05:41:37 -07:00
|
|
|
void thread_code P((code_t code, asize_t len));
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|