Class: Rubycc::Front::AST::BuiltinAlloca

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/front/ast.rb

Overview

"__builtin_alloca ( n )": reserves n bytes of automatic storage on the stack, released when the enclosing function returns. size is the byte-count expression (converted to size_t) and token the keyword; the whole expression's value is the block's base address, a void * the ABI keeps 16-byte aligned.

Instance Attribute Summary collapse

Instance Attribute Details

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



363
364
365
# File 'lib/rubycc/front/ast.rb', line 363

def size
  @size
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



363
364
365
# File 'lib/rubycc/front/ast.rb', line 363

def token
  @token
end