aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BinaryFormat/Code.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/BinaryFormat/Code.php')
-rw-r--r--src/BinaryFormat/Code.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/BinaryFormat/Code.php b/src/BinaryFormat/Code.php
index cb0dbe6..6acf1e7 100644
--- a/src/BinaryFormat/Code.php
+++ b/src/BinaryFormat/Code.php
@@ -4,16 +4,17 @@ declare(strict_types=1);
namespace Nsfisis\Waddiwasi\BinaryFormat;
-use Nsfisis\Waddiwasi\Structure\Instructions\Expr;
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
final readonly class Code
{
/**
* @param list<Locals> $compressedLocals
+ * @param list<Instr> $body
*/
public function __construct(
public array $compressedLocals,
- public Expr $body,
+ public array $body,
) {
}
}