From 814e5197439fbf2b404e8e66f3c6dd6e5ed39776 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 13 Mar 2024 22:42:58 +0900 Subject: perf: make *Addr/*Idx to primitive int --- src/Structure/Instructions/Instrs/Control/BrTable.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Structure/Instructions/Instrs/Control/BrTable.php') diff --git a/src/Structure/Instructions/Instrs/Control/BrTable.php b/src/Structure/Instructions/Instrs/Control/BrTable.php index c7685f6..a9c37e8 100644 --- a/src/Structure/Instructions/Instrs/Control/BrTable.php +++ b/src/Structure/Instructions/Instrs/Control/BrTable.php @@ -5,16 +5,15 @@ declare(strict_types=1); namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Control; use Nsfisis\Waddiwasi\Structure\Instructions\Instr; -use Nsfisis\Waddiwasi\Structure\Types\LabelIdx; final readonly class BrTable extends Instr { /** - * @param list $labelTable + * @param list $labelTable */ protected function __construct( public array $labelTable, - public LabelIdx $defaultLabel, + public int $defaultLabel, ) { } -- cgit v1.2.3-70-g09d2