1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
/* 
|| This file is part of Pike. For copyright information see COPYRIGHT. 
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING 
|| for more information. 
|| $Id: pikecode.c,v 1.7 2002/10/11 01:39:36 nilsson 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 "main.h" 
 
#include "pikecode.h" 
 
#if PIKE_BYTECODE_METHOD == PIKE_BYTECODE_IA32 
#include "code/ia32.c" 
#elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_SPARC 
#include "code/sparc.c" 
#elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_PPC32 
#include "code/ppc32.c" 
#elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_GOTO 
#include "code/computedgoto.c" 
#else 
#include "code/bytecode.c" 
#endif