Skip to content

Fix PreExecuter pointer comparisons#366

Merged
alexp-sssup merged 1 commit into
masterfrom
fix-preexecuter-pointer-compare
Apr 24, 2026
Merged

Fix PreExecuter pointer comparisons#366
alexp-sssup merged 1 commit into
masterfrom
fix-preexecuter-pointer-compare

Conversation

@DutChen18
Copy link
Copy Markdown
Member

Pointers needed to have their tags removed before the comparison.

It's a bit ugly to have to pass around the interpreter instance everywhere, but this solution seemed better than the alternatives.

@DutChen18 DutChen18 requested a review from alexp-sssup April 24, 2026 08:58
@alexp-sssup
Copy link
Copy Markdown
Member

@DutChen18 What about making the methods non-static as an alternative?

The current solution is ok, but let's see if this would be better.

@DutChen18
Copy link
Copy Markdown
Member Author

@alexp-sssup Making them instance methods requires declaring them in the header, are you sure this is better?

@alexp-sssup
Copy link
Copy Markdown
Member

No, then it would not be better. I misread static as "class static". It's just static methods though.

@alexp-sssup alexp-sssup added the hydra Run hydra on this PR label Apr 24, 2026
Pointers needed to have their tags removed before the comparison
@DutChen18 DutChen18 force-pushed the fix-preexecuter-pointer-compare branch from df0ca25 to 62701e4 Compare April 24, 2026 11:17
@alexp-sssup alexp-sssup merged commit 49c8121 into master Apr 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hydra Run hydra on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants