comp
Class PointerType
java.lang.Object
|
+--comp.Type
|
+--comp.PointerType
- Direct Known Subclasses:
- ArrayType
- class PointerType
- extends Type
Field Summary |
(package private) Type |
base
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
base
Type base
PointerType
public PointerType(Type base)
emitArrayOffset
public java.lang.String emitArrayOffset(Assembler asm,
java.lang.String indexReg)
- Overrides:
emitArrayOffset
in class Type
rValue
public java.lang.String rValue(Assembler asm,
java.lang.String dest,
int off,
java.lang.String base)
- Overrides:
rValue
in class Type
rValueGlobal
public java.lang.String rValueGlobal(Assembler asm,
java.lang.String dest,
java.lang.String label)
- Overrides:
rValueGlobal
in class Type