coins.drivergen.process
Class GenerateCode

java.lang.Object
  extended bycoins.drivergen.process.Process
      extended bycoins.drivergen.process.GenerateCode

public class GenerateCode
extends Process

GenerateCode is one of the process, convert Lir to assember code


Field Summary
static coins.drivergen.process.GenerateCode.Navi navi
          Navi class singleton.
 
Fields inherited from class coins.drivergen.process.Process
CANT_START, ir, NOT_C_SRC, NOT_F_SRC, NOT_L_SRC, opt
 
Constructor Summary
(package private) GenerateCode(InputIr ir, Options opt)
          Constructor
 
Method Summary
 boolean canStart()
          Check the present status and judge this process can invoke.
 void go()
          Run the compiler driver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

navi

public static final coins.drivergen.process.GenerateCode.Navi navi
Navi class singleton.

Constructor Detail

GenerateCode

GenerateCode(InputIr ir,
             Options opt)
Constructor

Parameters:
ir - Intermediate Representation which input to this process
opt - Options for the COINS compiler driver
Method Detail

go

public void go()
        throws ProcessException,
               PassException,
               java.io.IOException
Run the compiler driver.

Specified by:
go in class Process
Throws:
ProcessException
PassException
java.io.IOException

canStart

public boolean canStart()
Check the present status and judge this process can invoke.

Specified by:
canStart in class Process