Class: Rubycc::IR::ArgumentRequest

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/ir/call_convention.rb

Overview

One argument as the placement pass sees it: the candidate kind of each of its ABI slots, whether its aggregate is 16-byte aligned, and how many stack eightbytes it occupies should it spill (ceil(size/8), so the placer can track the stack offset a 16-byte-aligned aggregate must be padded up to). Placement only ever needs to count and align, never to know a C type.

Instance Attribute Summary collapse

Instance Attribute Details

#align16Object (readonly)

Returns the value of attribute align16

Returns:

  • (Object)

    the current value of align16



48
49
50
# File 'lib/rubycc/ir/call_convention.rb', line 48

def align16
  @align16
end

#kindsObject (readonly)

Returns the value of attribute kinds

Returns:

  • (Object)

    the current value of kinds



48
49
50
# File 'lib/rubycc/ir/call_convention.rb', line 48

def kinds
  @kinds
end

#mem_eightbytesObject (readonly)

Returns the value of attribute mem_eightbytes

Returns:

  • (Object)

    the current value of mem_eightbytes



48
49
50
# File 'lib/rubycc/ir/call_convention.rb', line 48

def mem_eightbytes
  @mem_eightbytes
end