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/Variable/LocalSet.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Structure/Instructions/Instrs/Variable/LocalSet.php') diff --git a/src/Structure/Instructions/Instrs/Variable/LocalSet.php b/src/Structure/Instructions/Instrs/Variable/LocalSet.php index 4a21ca3..eb79baa 100644 --- a/src/Structure/Instructions/Instrs/Variable/LocalSet.php +++ b/src/Structure/Instructions/Instrs/Variable/LocalSet.php @@ -5,12 +5,11 @@ declare(strict_types=1); namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Variable; use Nsfisis\Waddiwasi\Structure\Instructions\Instr; -use Nsfisis\Waddiwasi\Structure\Types\LocalIdx; final readonly class LocalSet extends Instr { protected function __construct( - public LocalIdx $var, + public int $var, ) { } -- cgit v1.2.3-70-g09d2