Skip to content
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

Fix reading parent stack height from branch instructions immediates #373

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

gumb0
Copy link
Collaborator

@gumb0 gumb0 commented Jun 4, 2020

It's pushed to immediates as uint32_t, and should be read with the same type.

push(immediates, static_cast<uint32_t>(frame.parent_stack_height));

@gumb0 gumb0 force-pushed the imm-stack-height-read branch from 3fe601e to 33219f6 Compare June 4, 2020 11:48
@gumb0 gumb0 requested a review from chfast June 4, 2020 11:56
@codecov
Copy link

codecov bot commented Jun 4, 2020

Codecov Report

Merging #373 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #373   +/-   ##
=======================================
  Coverage   98.85%   98.85%           
=======================================
  Files          42       42           
  Lines       12184    12184           
=======================================
  Hits        12044    12044           
  Misses        140      140           

@gumb0 gumb0 merged commit b48b209 into master Jun 4, 2020
@gumb0 gumb0 deleted the imm-stack-height-read branch June 4, 2020 13:11
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.

3 participants