"Standardize" name for variables of type InterpCx
#3958
Labels
A-style
Area: coding style
C-cleanup
Category: cleaning up our code
E-good-first-issue
A good way to start contributing, mentoring is available
When I made my first contribution to the main miri code base, I was for a brief moment (slightly) confused about the variables
this
andecx
, mostly used to store the result ofeval_context_{ref,mut}
. It would be nice if the name was consistent.I see that
this
is most commonly used:However, sometimes this is used to refer to other values, for example:
So personally I would propose using
ecx
to store the interpreter context.Obviously this is not really important, and adds no value to the users, but if you agree that this might improve the code base, I am glad to send a PR.
The text was updated successfully, but these errors were encountered: