From f490780439450a06cf71eb40b453fc0154264337 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 Mar 2024 00:28:30 +0900 Subject: perf: unwrap StackEntry --- src/Execution/StackEntries/Frame.php | 24 ------------------------ src/Execution/StackEntries/Label.php | 18 ------------------ src/Execution/StackEntries/Value.php | 16 ---------------- 3 files changed, 58 deletions(-) delete mode 100644 src/Execution/StackEntries/Frame.php delete mode 100644 src/Execution/StackEntries/Label.php delete mode 100644 src/Execution/StackEntries/Value.php (limited to 'src/Execution/StackEntries') diff --git a/src/Execution/StackEntries/Frame.php b/src/Execution/StackEntries/Frame.php deleted file mode 100644 index 298feb6..0000000 --- a/src/Execution/StackEntries/Frame.php +++ /dev/null @@ -1,24 +0,0 @@ - $arity - * @param list $locals - */ - public function __construct( - public readonly int $arity, - public array $locals, - public readonly ModuleInst $module, - public string $debugName, - ) { - } -} diff --git a/src/Execution/StackEntries/Label.php b/src/Execution/StackEntries/Label.php deleted file mode 100644 index e6b9954..0000000 --- a/src/Execution/StackEntries/Label.php +++ /dev/null @@ -1,18 +0,0 @@ - $arity - */ - public function __construct( - public readonly int $arity, - ) { - } -} diff --git a/src/Execution/StackEntries/Value.php b/src/Execution/StackEntries/Value.php deleted file mode 100644 index 32244d6..0000000 --- a/src/Execution/StackEntries/Value.php +++ /dev/null @@ -1,16 +0,0 @@ -