Class: YTLJit::FuncArgInfo
Instance Attribute Summary collapse
-
#area_allocate_pos ⇒ Object
Returns the value of attribute area_allocate_pos.
-
#maxargs ⇒ Object
readonly
Returns the value of attribute maxargs.
-
#used_arg_tab ⇒ Object
Returns the value of attribute used_arg_tab.
Instance Method Summary collapse
-
#initialize ⇒ FuncArgInfo
constructor
A new instance of FuncArgInfo.
- #update_maxargs(args) ⇒ Object
Constructor Details
#initialize ⇒ FuncArgInfo
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_pos ⇒ Object
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 |
#maxargs ⇒ Object (readonly)
Returns the value of attribute maxargs.
126 127 128 |
# File 'lib/ytljit/asmext.rb', line 126 def maxargs @maxargs end |
#used_arg_tab ⇒ Object
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 |