dd6bca2001-07-20Henrik Grubbström (Grubba) /*
3271c62002-04-08Martin Stjernholm  * $Id: pikecode.c,v 1.4 2002/04/07 22:24:34 mast Exp $
dd6bca2001-07-20Henrik Grubbström (Grubba)  * * Generic strap for the code-generator. * * Henrik Grubbström 20010720 */ #include "global.h" #include "program.h" #include "opcodes.h" #include "docode.h" #include "interpret.h" #include "language.h" #include "lex.h" #include "pikecode.h"
3271c62002-04-08Martin Stjernholm #if PIKE_BYTECODE_METHOD == PIKE_BYTECODE_IA32
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/ia32.c"
3271c62002-04-08Martin Stjernholm #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_SPARC
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/sparc.c"
3271c62002-04-08Martin Stjernholm #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_PPC32
55d3e12001-07-26Marcus Comstedt #include "code/ppc32.c"
3271c62002-04-08Martin Stjernholm #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_GOTO
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/computedgoto.c"
3271c62002-04-08Martin Stjernholm #else
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/bytecode.c"
3271c62002-04-08Martin Stjernholm #endif