coins.backend.gen
Class CodeGenerator.FunctionAttr

java.lang.Object
  extended bycoins.backend.gen.CodeGenerator.FunctionAttr
Direct Known Subclasses:
CodeGenerator_alpha.AlphaAttr, CodeGenerator_arm.ArmAttr, CodeGenerator_mb.MicroBlazeAttr, CodeGenerator_mips.mipsAttr, CodeGenerator_ppc.PowerPCAttr, CodeGenerator_sh4.SH4Attr, CodeGenerator_sparc.SparcAttr, CodeGenerator_thumb.ThumbAttr, CodeGenerator_x86_64.X86_64Attr, CodeGenerator_x86.X86Attr, CodeGenerator_x86simd.X86Attr
Enclosing class:
CodeGenerator

static class CodeGenerator.FunctionAttr
extends java.lang.Object

Keeps track of function's attributes.


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.FunctionAttr(Function func)
          Creator
 
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.FunctionAttr

CodeGenerator.FunctionAttr(Function func)
Creator