QuickBEAM.VM.Compiler.Runner (QuickBEAM v0.10.9)

Copy Markdown View Source

Compiled-function invocation: sets up call frames, handles new, generators, and tail-call dispatch.

Summary

Functions

Invokes the runtime object represented by this module.

Helper for compiled-function invocation: sets up call frames, handles new, generators, and tail-call dispatch.

Helper for compiled-function invocation: sets up call frames, handles new, generators, and tail-call dispatch.

Normalizes call arguments to the arity expected by compiled code.

Functions

invoke(fun, args)

Invokes the runtime object represented by this module.

invoke(fun, args, base_ctx)

invoke_constructor(fun, args, this_obj, new_target)

Helper for compiled-function invocation: sets up call frames, handles new, generators, and tail-call dispatch.

invoke_constructor(fun, args, this_obj, new_target, base_ctx)

invoke_with_receiver(fun, args, this_obj)

Helper for compiled-function invocation: sets up call frames, handles new, generators, and tail-call dispatch.

invoke_with_receiver(fun, args, this_obj, base_ctx)

normalize_args(args, arg_count)

Normalizes call arguments to the arity expected by compiled code.