diff options
Diffstat (limited to 'src/Structure/Instructions/Instrs/Variable/GlobalGet.php')
| -rw-r--r-- | src/Structure/Instructions/Instrs/Variable/GlobalGet.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Variable/GlobalGet.php b/src/Structure/Instructions/Instrs/Variable/GlobalGet.php index a3bd2c6..542a805 100644 --- a/src/Structure/Instructions/Instrs/Variable/GlobalGet.php +++ b/src/Structure/Instructions/Instrs/Variable/GlobalGet.php @@ -13,4 +13,9 @@ final readonly class GlobalGet extends Instr public GlobalIdx $var, ) { } + + public static function opName(): string + { + return "global.get"; + } } |
