25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: native.c,v 1.6 2007/03/31 15:11:26 debug Exp $ |
* $Id: native.c,v 1.8 2007/06/14 16:32:11 debug Exp $ |
29 |
* |
* |
30 |
* Native Code Generation framework; common routines. |
* Native Code Generation framework; common routines. |
31 |
* |
* |
42 |
#include "native.h" |
#include "native.h" |
43 |
|
|
44 |
|
|
|
#ifndef NATIVE_CODE_GENERATION |
|
|
|
|
|
|
|
|
/* |
|
|
* Dummy functions, if native code generation is not supported |
|
|
* for this specific host ABI. |
|
|
*/ |
|
|
/* TODO */ |
|
|
|
|
|
|
|
|
#else /* NATIVE_CODE_GENERATION */ |
|
|
|
|
|
|
|
|
#ifdef HOST_ARCH_ALPHA |
|
|
#include "native_alpha.c" |
|
|
#endif |
|
|
#ifdef HOST_ARCH_AMD64 |
|
|
#include "native_x86.c" |
|
|
#endif |
|
|
|
|
45 |
extern int native_code_translation_enabled; |
extern int native_code_translation_enabled; |
46 |
|
|
47 |
|
|
48 |
/* TODO */ |
/* TODO */ |
49 |
|
|
|
|
|
|
#endif /* NATIVE_CODE_GENERATION */ |
|
|
|
|