comp
Class IntType

java.lang.Object
  |
  +--comp.Type
        |
        +--comp.IntType

class IntType
extends Type


Field Summary
 
Fields inherited from class comp.Type
name, size
 
Constructor Summary
IntType()
           
 
Method Summary
 java.lang.String emitArrayOffset(Assembler asm, java.lang.String indexReg)
           
 java.lang.String rValue(Assembler asm, java.lang.String dest, int off, java.lang.String base)
           
 java.lang.String rValueGlobal(Assembler asm, java.lang.String dest, java.lang.String label)
           
 
Methods inherited from class comp.Type
getLayoutSize, lValue, lValueGlobal, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntType

public IntType()
Method Detail

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