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/Execution/ControlFlowResult.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/Execution/ControlFlowResult.php') diff --git a/src/Execution/ControlFlowResult.php b/src/Execution/ControlFlowResult.php index 1b995d9..0bb831a 100644 --- a/src/Execution/ControlFlowResult.php +++ b/src/Execution/ControlFlowResult.php @@ -4,11 +4,9 @@ declare(strict_types=1); namespace Nsfisis\Waddiwasi\Execution; -use Nsfisis\Waddiwasi\Structure\Types\LabelIdx; - abstract readonly class ControlFlowResult { - final public static function Br(LabelIdx $label): ControlFlowResults\Br + final public static function Br(int $label): ControlFlowResults\Br { return new ControlFlowResults\Br($label); } -- cgit v1.2.3-70-g09d2