class WAG::Instruction::CallIndirect

Public Instance Methods

result(*types) click to toggle source
# File lib/wag/instructions/call_indirect.rb, line 7
def result(*types)
  @result = WAG::Result.new(*types)
end
to_sexpr() click to toggle source
Calls superclass method
# File lib/wag/instructions/call_indirect.rb, line 11
def to_sexpr
  return [name, @result.to_sexpr] if @result

  super()
end