coins.backend.gen
Class CodeGenerator_mips.mipsAttr

java.lang.Object
  extended bycoins.backend.gen.CodeGenerator.FunctionAttr
      extended bycoins.backend.gen.CodeGenerator_mips.mipsAttr
Enclosing class:
CodeGenerator_mips

static class CodeGenerator_mips.mipsAttr
extends CodeGenerator.FunctionAttr

mips's function attribute


Field Summary
(package private)  Function func
          Parent object.
(package private)  boolean isVarArg
          True if this is variable argument function.
(package private)  int requiredStack
          Stack space required for call
(package private)  LirNode retPtr
          Pointer to value returned (if the function returns struct)
(package private)  int stackParamOffset
          Offset of the first non-register parameter (i.e.
 
Constructor Summary
(package private) CodeGenerator_mips.mipsAttr(Function func)
           
 
Method Summary
 void Analyze()
           
 java.lang.String getBitmask()
           
 int getCprestore()
           
 int getFrameoffset()
           
 int getFramesize()
           
 int getLocaloffset()
           
 int getNumCaller()
           
 void Renew()
           
 void setBytesLocalVars(int bytes)
           
 void setBytesRegsaveArea(int bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

func

Function func
Parent object.


requiredStack

int requiredStack
Stack space required for call


isVarArg

boolean isVarArg
True if this is variable argument function.


retPtr

LirNode retPtr
Pointer to value returned (if the function returns struct)


stackParamOffset

int stackParamOffset
Offset of the first non-register parameter (i.e. on stack)

Constructor Detail

CodeGenerator_mips.mipsAttr

CodeGenerator_mips.mipsAttr(Function func)
Method Detail

setBytesLocalVars

public void setBytesLocalVars(int bytes)

setBytesRegsaveArea

public void setBytesRegsaveArea(int bytes)

getNumCaller

public int getNumCaller()

getBitmask

public java.lang.String getBitmask()

getFrameoffset

public int getFrameoffset()

getFramesize

public int getFramesize()

getCprestore

public int getCprestore()

getLocaloffset

public int getLocaloffset()

Analyze

public void Analyze()

Renew

public void Renew()