coins.backend.gen
Class CodeGenerator_x86.X86Attr

java.lang.Object
  extended bycoins.backend.gen.CodeGenerator.FunctionAttr
      extended bycoins.backend.gen.CodeGenerator_x86.X86Attr
Enclosing class:
CodeGenerator_x86

static class CodeGenerator_x86.X86Attr
extends CodeGenerator.FunctionAttr

X86's function attribute


Field Summary
(package private)  boolean allocaCalled
          alloca called in it
(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.
(package private)  int stackRequired
          Maximum stack space used by call.
(package private)  int tmpOffset
          Temporary variable used for int to float conversion
 
Constructor Summary
(package private) CodeGenerator_x86.X86Attr(Function func)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stackRequired

int stackRequired
Maximum stack space used by call.


tmpOffset

int tmpOffset
Temporary variable used for int to float conversion


allocaCalled

boolean allocaCalled
alloca called in it


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_x86.X86Attr

CodeGenerator_x86.X86Attr(Function func)