This commit is contained in:
Nilton Constantino
2026-01-30 16:21:02 +00:00
parent c797be9287
commit 8c161e3e13
11 changed files with 261 additions and 140 deletions
@@ -227,6 +227,7 @@ impl<'a> BytecodeEmitter<'a> {
// --- PHASE 4: Serialization ---
// Packages the constant pool and bytecode into the final PBC format.
let pbc = PbcFile {
version: 0,
cp: self.constant_pool.clone(),
rom: bytecode,
};