coins.ssa
クラス SsaEnvironment

java.lang.Object
  |
  +--coins.ssa.SsaEnvironment

class SsaEnvironment
extends java.lang.Object

The environment of the SSA module.


フィールドの概要
static int AllThr
          The threshold of the debug print
 IoRoot ioRoot
          The root of IO in COINS
 LirFactory lir
          The factory of LIR
static int MinThr
          The threshold of the debug print
 Module module
          The current compile module
 java.lang.String MODULENAME
          The name of this module
static int MsgThr
          The threshold of the debug print
 CoinsOptions opt
          The options to the COINS compiler driver
static int OptThr
          The threshold of the debug print
 java.io.PrintWriter output
          The output stream of the compiler
 CompileSpecification spec
          The specification of the COINS compiler driver
static int SsaThr
          The threshold of the debug print
 Trace trace
          The trace object of the compiler
 
コンストラクタの概要
(パッケージプライベート) SsaEnvironment(Module m, CompileSpecification coinsSpec, IoRoot io)
          Constructor
 
メソッドの概要
(パッケージプライベート)  void print(java.lang.String str, int threshold)
          Debug print out.
(パッケージプライベート)  void println(java.lang.String str, int threshold)
          Debug print out.
(パッケージプライベート)  boolean shouldDo(int threshold)
          If the value of threshold is lower than specified by the options to the COINS compiler driver, return TRUE.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

MsgThr

public static final int MsgThr
The threshold of the debug print

関連項目:
定数フィールド値

MinThr

public static final int MinThr
The threshold of the debug print

関連項目:
定数フィールド値

SsaThr

public static final int SsaThr
The threshold of the debug print

関連項目:
定数フィールド値

OptThr

public static final int OptThr
The threshold of the debug print

関連項目:
定数フィールド値

AllThr

public static final int AllThr
The threshold of the debug print

関連項目:
定数フィールド値

output

public final java.io.PrintWriter output
The output stream of the compiler


spec

public final CompileSpecification spec
The specification of the COINS compiler driver


opt

public final CoinsOptions opt
The options to the COINS compiler driver


trace

public final Trace trace
The trace object of the compiler


MODULENAME

public final java.lang.String MODULENAME
The name of this module

関連項目:
定数フィールド値

module

public final Module module
The current compile module


lir

public final LirFactory lir
The factory of LIR


ioRoot

public final IoRoot ioRoot
The root of IO in COINS

コンストラクタの詳細

SsaEnvironment

SsaEnvironment(Module m,
               CompileSpecification coinsSpec,
               IoRoot io)
Constructor

パラメータ:
m - The current compile module
coinsSpec - The specification of the COINS compiler driver
io - The input/output of the compiler
メソッドの詳細

shouldDo

boolean shouldDo(int threshold)
If the value of threshold is lower than specified by the options to the COINS compiler driver, return TRUE.

パラメータ:
threshold - The value which is checked if it is lower than threshold
戻り値:
True if the value `threshold' is lower than threshold

println

void println(java.lang.String str,
             int threshold)
Debug print out. If the value of `threshold' is lower than the threshold print out `str' as a debug message. This method prints the carriage return at the end of the message.

パラメータ:
str - The debug message
threshold - The threshold of the debug message

print

void print(java.lang.String str,
           int threshold)
Debug print out. If the value of `threshold' is lower than the threshold print out `str' as a debug message.

パラメータ:
str - The debug message
threshold - The threshold of the debug message