From 39e6c4bfb1f3fb96bba47e3eec8e6451038a3d22 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Feb 2026 23:22:25 +0900 Subject: feat: implement validation phase --- src/WebAssembly/Validation/ControlFrame.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/WebAssembly/Validation/ControlFrame.php (limited to 'src/WebAssembly/Validation/ControlFrame.php') diff --git a/src/WebAssembly/Validation/ControlFrame.php b/src/WebAssembly/Validation/ControlFrame.php new file mode 100644 index 0000000..e956b4c --- /dev/null +++ b/src/WebAssembly/Validation/ControlFrame.php @@ -0,0 +1,24 @@ + $startTypes + * @param list $endTypes + */ + public function __construct( + public string $opcode, + public array $startTypes, + public array $endTypes, + public int $height, + public bool $unreachable, + ) { + } +} -- cgit v1.3-1-g0d28