Class: YTLJit::FuncArgInfo

Inherits:
Object show all
Defined in:
lib/ytljit/asmext.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFuncArgInfo

Returns a new instance of FuncArgInfo.



119
120
121
122
123
# File 'lib/ytljit/asmext.rb', line 119

def initialize
  @maxargs = 0
  @used_arg_tab = []
  @area_allocate_pos = []
end

Instance Attribute Details

#area_allocate_posObject (readonly)

Returns the value of attribute area_allocate_pos.



127
128
129
# File 'lib/ytljit/asmext.rb', line 127

def area_allocate_pos
  @area_allocate_pos
end

#maxargsObject (readonly)

Returns the value of attribute maxargs.



126
127
128
# File 'lib/ytljit/asmext.rb', line 126

def maxargs
  @maxargs
end

#used_arg_tabObject

Returns the value of attribute used_arg_tab.



125
126
127
# File 'lib/ytljit/asmext.rb', line 125

def used_arg_tab
  @used_arg_tab
end

Instance Method Details

#update_maxargs(args) ⇒ Object



129
130
131
132
133
# File 'lib/ytljit/asmext.rb', line 129

def update_maxargs(args)
  if @maxargs < args then
    @maxargs = args
  end
end