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

prog: fix checksum dependencies #974

Merged
merged 1 commit into from
Feb 1, 2019
Merged

prog: fix checksum dependencies #974

merged 1 commit into from
Feb 1, 2019

Conversation

xairy
Copy link
Collaborator

@xairy xairy commented Feb 1, 2019

Make pseudo checksums depend (via csumUses) on the arg it requires for
calculation. Otherwise we fail to assign addrs to those args during encoding
for execution. Also add a test.

Make pseudo checksums depend (via csumUses) on the arg it requires for
calculation. Otherwise we fail to assign addrs to those args during encoding
for execution. Also add a test.
@codecov-io
Copy link

Codecov Report

Merging #974 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #974      +/-   ##
==========================================
+ Coverage   67.77%   67.84%   +0.07%     
==========================================
  Files         114      114              
  Lines       20169    20172       +3     
==========================================
+ Hits        13669    13686      +17     
+ Misses       5861     5847      -14     
  Partials      639      639
Impacted Files Coverage Δ
prog/checksum.go 87.91% <100%> (+0.41%) ⬆️
prog/decodeexec.go 77.95% <0%> (+11.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f528bb...30bcba7. Read the comment docs.

@dvyukov
Copy link
Collaborator

dvyukov commented Feb 1, 2019

Impacted Files Coverage Δ  
prog/checksum.go 87.91% <100%> (+0.41%)  
prog/decodeexec.go 77.95% <0%> (+11.02%)  

Yay!

@dvyukov
Copy link
Collaborator

dvyukov commented Feb 1, 2019

LGTM

@xairy xairy merged commit ceb9077 into google:master Feb 1, 2019
@xairy xairy deleted the checksum-fix branch February 1, 2019 15:53
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