dd6bca2001-07-20Henrik Grubbström (Grubba) /*
1caa052001-07-20Henrik Grubbström (Grubba)  * $Id: pikecode.c,v 1.2 2001/07/20 16:27:53 grubba 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" #ifdef PIKE_USE_MACHINE_CODE
1caa052001-07-20Henrik Grubbström (Grubba) #if defined(__i386__) || defined(__i386)
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/ia32.c"
1caa052001-07-20Henrik Grubbström (Grubba) #elif defined(sparc) || defined(__sparc__) || defined(__sparc)
dd6bca2001-07-20Henrik Grubbström (Grubba) #include "code/sparc.c" #else /* Unsupported cpu */ #error Unknown CPU #endif /* CPU type */ #elif defined(HAVE_COMPUTED_GOTO) #include "code/computedgoto.c" #else /* Default */ #include "code/bytecode.c" #endif /* Interpreter type. */