diff options
Diffstat (limited to 'src/Execution/StackEntry.php')
| -rw-r--r-- | src/Execution/StackEntry.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/Execution/StackEntry.php b/src/Execution/StackEntry.php deleted file mode 100644 index 4260830..0000000 --- a/src/Execution/StackEntry.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace Nsfisis\Waddiwasi\Execution; - -abstract class StackEntry -{ - final public static function Value(int|float|Ref $inner): StackEntries\Value - { - return new StackEntries\Value($inner); - } - - /** - * @param int<0, max> $arity - */ - final public static function Label( - int $arity, - ): StackEntries\Label { - return new StackEntries\Label($arity); - } - - /** - * @param int<0, max> $arity - * @param list<int|float|Ref> $locals - */ - final public static function Frame( - int $arity, - array $locals, - ModuleInst $module, - string $debugName, - ): StackEntries\Frame { - return new StackEntries\Frame($arity, $locals, $module, $debugName); - } -} |
