Skip to content

Add assert to as<int32_t>() for dirty higher bits.#613

Merged
axic merged 2 commits intomasterfrom
dirty-stack
Nov 17, 2020
Merged

Add assert to as<int32_t>() for dirty higher bits.#613
axic merged 2 commits intomasterfrom
dirty-stack

Conversation

@axic
Copy link
Member

@axic axic commented Oct 19, 2020

Missed in #612.

@@ -264,7 +264,8 @@ TEST(execute_numeric, i32_mul)

TEST(execute_numeric, i32_div_s)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is especially annoying as we never had a proper 32-bit tests.

@axic axic force-pushed the dirty-stack branch 2 times, most recently from 7308462 to d2a8db1 Compare November 6, 2020 21:18
@axic axic marked this pull request as ready for review November 6, 2020 21:20
@axic axic requested review from chfast and gumb0 November 6, 2020 21:20
@axic
Copy link
Member Author

axic commented Nov 6, 2020

@chfast @gumb0 oh I forgot to ping y'all for reviews. I'm not sure what's left, but probably we could extend the 32-bit tests if you have some ideas for more edge cases to cover.

@codecov
Copy link

codecov bot commented Nov 6, 2020

Codecov Report

Merging #613 (ea55800) into master (3219b86) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
- Coverage   98.37%   98.36%   -0.01%     
==========================================
  Files          69       69              
  Lines        9632     9623       -9     
==========================================
- Hits         9475     9466       -9     
  Misses        157      157              

@axic axic merged commit 1ab75c3 into master Nov 17, 2020
@axic axic deleted the dirty-stack branch November 17, 2020 21:55
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