Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/compiler/qsc/src/interpret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ impl Interpreter {
self.circuit_tracer
.as_ref()
.expect("to call get_circuit, the interpreter should be initialized with circuit tracing enabled")
.snapshot(self.compiler.package_store())
.snapshot(&(self.compiler.package_store(), &self.fir_store))
}

/// Performs QIR codegen using the given entry expression on a new instance of the environment
Expand Down Expand Up @@ -1022,7 +1022,7 @@ impl Interpreter {
}
}
}
let circuit = tracer.finish(self.compiler.package_store());
let circuit = tracer.finish(&(self.compiler.package_store(), &self.fir_store));
Ok(circuit)
}

Expand Down
280 changes: 270 additions & 10 deletions source/compiler/qsc/src/interpret/circuit_tests.rs

Large diffs are not rendered by default.

Loading
Loading