diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-19 11:36:04 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-19 11:36:04 +0900 |
| commit | 07b375c2c5ae968735f2390b523dbcc088b03ee5 (patch) | |
| tree | 96ba2641b3382ace2c5a6f7ede5f89cd596d05b0 /src/Execution/Runtime.php | |
| parent | 829f6e531525fa82c5fa948e6bb96bb6469685a2 (diff) | |
| download | php-waddiwasi-07b375c2c5ae968735f2390b523dbcc088b03ee5.tar.gz php-waddiwasi-07b375c2c5ae968735f2390b523dbcc088b03ee5.tar.zst php-waddiwasi-07b375c2c5ae968735f2390b523dbcc088b03ee5.zip | |
test: UnreachableTest passed
Diffstat (limited to 'src/Execution/Runtime.php')
| -rw-r--r-- | src/Execution/Runtime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Execution/Runtime.php b/src/Execution/Runtime.php index bf010c9..9987118 100644 --- a/src/Execution/Runtime.php +++ b/src/Execution/Runtime.php @@ -2449,7 +2449,7 @@ final class Runtime private function execInstrControlUnreachable(Instrs\Control\Unreachable $instr): void { - throw new TrapException("unreachable"); + throw new TrapException("unreachable", trapKind: TrapKind::Unreachable); } private function doLoadF32(int $offset, string $instrOpName): void |
