From 900377463a8264871ee42e488112b076b7973b6a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jan 2024 13:22:56 +0900 Subject: feat: partially implement execution --- src/Execution/ModuleInst.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/Execution/ModuleInst.php (limited to 'src/Execution/ModuleInst.php') diff --git a/src/Execution/ModuleInst.php b/src/Execution/ModuleInst.php new file mode 100644 index 0000000..2cd7f08 --- /dev/null +++ b/src/Execution/ModuleInst.php @@ -0,0 +1,32 @@ + $types + * @param list $funcAddrs + * @param list $tableAddrs + * @param list $memAddrs + * @param list $globalAddrs + * @param list $elemAddrs + * @param list $dataAddrs + * @param list $exports + */ + public function __construct( + public array $types, + public array $funcAddrs, + public array $tableAddrs, + public array $memAddrs, + public array $globalAddrs, + public array $elemAddrs, + public array $dataAddrs, + public array $exports, + ) { + } +} -- cgit v1.2.3-70-g09d2