dd6bca2001-07-20Henrik Grubbström (Grubba) /* * $Id: pikecode.c,v 1.1 2001/07/20 12:44:49 grubba Exp $ * * 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 #ifdef __i386__ #include "code/ia32.c" #elif defined(sparc) || defined(__sparc__) #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. */