-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Continued re-design of paranoid mode (now called Runtime Type Check) #15437
Conversation
⏱️ 1h 38m total CI duration on this PR
|
@@ -29,6 +29,12 @@ pub(crate) trait RuntimeTypeCheck { | |||
ty_cache: &mut FrameTypeCache, | |||
instruction: &Bytecode, | |||
) -> PartialVMResult<()>; | |||
|
|||
/// Pranoid check that operand and type stacks have the same size |
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.
Typo in docstring: Pranoid
-> Paranoid
. This maintains consistency with terminology used throughout the codebase.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
@@ -29,6 +29,12 @@ pub(crate) trait RuntimeTypeCheck { | |||
ty_cache: &mut FrameTypeCache, | |||
instruction: &Bytecode, | |||
) -> PartialVMResult<()>; | |||
|
|||
/// Paranoid check that operand and type stacks have the same size |
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.
nit: .
s in the end of docstrings
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
Moving towards static implementation of the paranoid mode switch, allowing for compiler optimizations.
How Has This Been Tested?
Existing tests
Key Areas to Review
Make sure the end to end functionality is NOT changed.
Type of Change
Which Components or Systems Does This Change Impact?
Checklist