From 8b689c5ff077252a68c88bc7d70990405fc8dd5a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 3 Mar 2024 21:01:46 +0900 Subject: feat: implement more instructions --- src/Structure/Instructions/Instrs/Numeric/F64Const.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Structure/Instructions/Instrs/Numeric/F64Const.php') diff --git a/src/Structure/Instructions/Instrs/Numeric/F64Const.php b/src/Structure/Instructions/Instrs/Numeric/F64Const.php index 540e6f4..f5819a9 100644 --- a/src/Structure/Instructions/Instrs/Numeric/F64Const.php +++ b/src/Structure/Instructions/Instrs/Numeric/F64Const.php @@ -15,4 +15,9 @@ final readonly class F64Const extends Instr public float $value, ) { } + + public static function opName(): string + { + return "f64.const"; + } } -- cgit v1.2.3-70-g09d2