aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Runtime.php
diff options
context:
space:
mode:
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 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