Skip to content

Conversation

@spotandjake
Copy link

This is my first pr to Binaryen so I hope I did things correctly.

This pr implements the api's for working with CallRef to the js api.

  • module.call_ref
    and the related info functions:
  • getNumOperands(expr)
  • getOperandAt(expr, index)
  • setOperandAt(expr, index, operandExpr)
  • appendOperand(expr, operandExpr)
  • insertOperandAt(expr, index, operandExpr)
  • removeOperandAt(expr, index)
  • getTarget(expr)
  • setTarget(expr, targetExpr)
  • isReturn(expr)
  • setReturn(expr, isReturn)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant