aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Runtime.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-07 14:58:59 +0900
committernsfisis <nsfisis@gmail.com>2024-07-07 14:58:59 +0900
commit799f7790b9b8d1dc126eeab7e6e04327b6cfe717 (patch)
tree9049c734cbb72cecfc7551b42e9803256690a4d0 /src/Execution/Runtime.php
parente79241c1988e7c0b3d422cdb99c9a105d0cfa903 (diff)
downloadphp-waddiwasi-799f7790b9b8d1dc126eeab7e6e04327b6cfe717.tar.gz
php-waddiwasi-799f7790b9b8d1dc126eeab7e6e04327b6cfe717.tar.zst
php-waddiwasi-799f7790b9b8d1dc126eeab7e6e04327b6cfe717.zip
refactor: Stack
Diffstat (limited to 'src/Execution/Runtime.php')
-rw-r--r--src/Execution/Runtime.php2
1 files changed, 1 insertions, 1 deletions
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);