Skip to content

Conversation

@virajbshah
Copy link
Contributor

@virajbshah virajbshah commented Aug 4, 2025

  • Factor out the per-instruction add to graph logic.
  • This change is in preparation for further changes to the graph construction logic.
  • Specifically, this should make the trace graph construction code cleaner.

Copy link
Collaborator

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable enough to me minus the commit history.

Can you add some more info the commit description on why you're refactoring this out?

for (const auto& item : items) {
if (!first) {
buffer << ",";
if (first) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase on main rather than the previous PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I was about to put a PR chain up for review and this snuck in with it. Should be fixed now.

 * Factor out the per-instruction add to graph logic.
 * This change is in preparation for further changes to the graph
   construction logic.
 * Specifically, this should make the trace graph construction
   logic cleaner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants