From 799f7790b9b8d1dc126eeab7e6e04327b6cfe717 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Jul 2024 14:58:59 +0900 Subject: refactor: Stack --- src/Execution/Runtime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Execution/Runtime.php') diff --git a/src/Execution/Runtime.php b/src/Execution/Runtime.php index 98893d0..2f69431 100644 --- a/src/Execution/Runtime.php +++ b/src/Execution/Runtime.php @@ -66,7 +66,7 @@ final class Runtime $moduleInstInit = $allocator->allocPreInitModule($module, $externVals); - $stack = new Stack([]); + $stack = new Stack(); $frameInit = new Frame(0, [], $moduleInstInit, 'preinit'); $stack->pushFrame($frameInit); -- cgit v1.2.3-70-g09d2