pr 59.1
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
use prometeu_compiler::backend::emit_bytecode::emit_module;
|
||||
use prometeu_compiler::common::files::FileManager;
|
||||
use prometeu_compiler::ir_core::ids::{ConstId as CoreConstId, FieldId, FunctionId, TypeId as CoreTypeId, ValueId};
|
||||
use prometeu_compiler::ir_core::{self, Block, ConstPool, ConstantValue, Instr, Program, Terminator};
|
||||
use prometeu_compiler::ir_vm::InstrKind;
|
||||
@@ -83,8 +82,7 @@ fn test_hip_conformance_core_to_vm_to_bytecode() {
|
||||
assert!(kinds.contains(&&InstrKind::GateRelease), "Missing GateRelease");
|
||||
|
||||
// 3. Emit Bytecode
|
||||
let file_manager = FileManager::new();
|
||||
let emit_result = emit_module(&vm_module, &file_manager).expect("Emission failed");
|
||||
let emit_result = emit_module(&vm_module).expect("Emission failed");
|
||||
let bytecode = emit_result.rom;
|
||||
|
||||
// 4. Assert industrial PBS\0 format
|
||||
|
||||
Reference in New Issue
Block a user