-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: #5051 PR comments #3
fix: #5051 PR comments #3
Conversation
Thank you for your contribution to the Noir language. Please do not force push to this branch after the Noir team have started review of this PR. Doing so will only delay us merging your PR as we will need to start the review process from scratch. Thanks for your understanding. |
6437929
to
1f50548
Compare
1f50548
to
510c938
Compare
510c938
to
613a4f3
Compare
@ggiraldez @mverzilli I added some explanatory comments but I'm not confident about them, so feel free to suggest to change them completely |
* improve descriptive comments Co-authored-by: ggiraldez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
tooling/debugger/src/context.rs
Outdated
// The purpose of this structure is to map the opcode locations in ACIR circuits into | ||
// a flat contiguous address space to be able to expose them to the DAP interface. | ||
// In this address space, the ACIR circuits are laid out one after the other, and | ||
// Brillig functions called from such circuits are expanded inline, replacing | ||
// the `BrilligCall` ACIR opcode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you can move this above the #[derive()]
annotation above so it applies to the whole structure. I think you can also use ///
(triple slashes) for the documentation system to pick it up.
tooling/debugger/src/context.rs
Outdated
// the `BrilligCall` ACIR opcode. | ||
// | ||
// `addresses: Vec<Vec<usize>>`` | ||
// * The first vec is `n` sized - one element per ACIR circuit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nitpick: first -> outer
7e882df
into
feat/4824-multiple-acir-calls
PR for addressing comments on noir-lang#5051
?
operator and the type on which is operating is not the same as the one returned in the function - Option vs ResultAddressMap
struct for abstracting theVec<Vec<usize>>
type that's needed to map between aDebugLocation
and "virtual" addresses