|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
java.lang.Objectedu.ustc.cs.compile.arch.RegisterVariable
public class RegisterVariable
Provides a representation of the register variable.
A register variable does not appear in the real assembly language. It can be used in the early stage of the assembly language generation. At this stage we use infinite register variables instead of finite registers. An then a global register allocator can map each register variable to a real register or a location on the stack.
字段摘要 | |
---|---|
private int |
number
|
构造函数摘要 | |
---|---|
RegisterVariable(int number)
Constructs a register variable with a number. |
方法摘要 | |
---|---|
int |
number()
Gets the number of this register variable. |
java.lang.String |
toString()
Returns a string representation of this register variable, which starts with "$R" followed by the number of this register variable. |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
private int number
构造函数详细信息 |
---|
public RegisterVariable(int number)
number
- the number of the register variable.方法详细信息 |
---|
public int number()
public java.lang.String toString()
java.lang.Object
中的 toString
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |