set-callstack ( callstack -- * ) (original) (raw)

set-callstack ( callstack -- * )
Factor handbook » The language » Continuations » Continuation implementation details

Prev: get-callstack ( -- callstack )
Next: get-namestack ( -- namestack )

Vocabulary
kernel.private

Inputs

callstack a callstack

Outputs
None

Word description
Replaces the call stack contents. Control flow is transferred immediately to the innermost frame of the new call stack.

Definition

IN: kernel.private

PRIMITIVE: set-callstack ( callstack -- * )