LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
assembly.hh
Go to the documentation of this file.
1 
6 #ifndef TARGET_ASSEMBLY_HH
7 # define TARGET_ASSEMBLY_HH
8 
9 # include <temp/fwd.hh>
10 # include <temp/label.hh>
11 # include <tree/fwd.hh>
12 # include <tree/binop.hh> // Binop::Oper.
13 # include <tree/cjump.hh> // Cjump::Relop.
14 
15 # include <assem/fwd.hh>
16 # include <assem/instrs.hh>
17 
18 namespace target
19 {
20 
25  class Assembly
26  {
29  public:
30  Assembly(assem::Layout& layout);
31 
33  virtual ~Assembly();
36  public:
38  virtual const char* runtime(bool gc = false) const = 0;
39 
42 
43  protected:
46  };
47 
48 } // namespace target
49 
50 #endif // !TARGET_ASSEMBLY_HH