Skip to content

Conversation

@mferst
Copy link

@mferst mferst commented May 27, 2022

This PR is the suggestion that first appeared in #88, and serves as an alternative to #92 and the do_check_sv method of #66.

GEN_PRIV and related CHK_* macros just assumed that variable named
"ctx" would be in scope when they are used, and that it would be a
pointer to DisasContext. Change these macros to receive the pointer
explicitly and also make them variadic to allow the use in methods that
have a return value.
Copy link

@luporl luporl left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@alqotel alqotel left a comment

Choose a reason for hiding this comment

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

LGTM! I prefer this one over #92

@luporl luporl mentioned this pull request May 31, 2022
@lrcoutinho
Copy link

lrcoutinho commented May 31, 2022

I prefer this one, cause both CHK_HV and GEN_PRIV could be used with return value

Copy link

@lrcoutinho lrcoutinho left a comment

Choose a reason for hiding this comment

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

LGTM!

@mferst
Copy link
Author

mferst commented Jun 10, 2022

#92 won

@mferst mferst closed this Jun 10, 2022
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.

5 participants