Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Use metrics of the requested revision in aleth-interpreter #5679

Merged
merged 3 commits into from
Jul 23, 2019

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Jul 17, 2019

Fixes the problem described in #5653 (comment), makes this change in test not needed ethereum/evmone#91

I came up here with (maybe a bit tricky) way to lazy-initialize metrics array for needed revision using std::once_flag. But I think it looks not so complicated. Settled upon a simpler non-lazy approach.

@gumb0 gumb0 force-pushed the optimizer-undefined branch from 75c34b4 to f46cec0 Compare July 17, 2019 09:52
@gumb0 gumb0 force-pushed the optimizer-undefined branch 8 times, most recently from a561b66 to 7d7dea0 Compare July 18, 2019 12:58
@codecov-io
Copy link

codecov-io commented Jul 18, 2019

Codecov Report

Merging #5679 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5679      +/-   ##
==========================================
+ Coverage   62.98%   62.99%   +<.01%     
==========================================
  Files         350      350              
  Lines       29993    29994       +1     
  Branches     3361     3362       +1     
==========================================
+ Hits        18891    18894       +3     
+ Misses       9884     9883       -1     
+ Partials     1218     1217       -1

@gumb0 gumb0 force-pushed the optimizer-undefined branch 5 times, most recently from 1dbf677 to 5841d3a Compare July 18, 2019 17:12
@gumb0
Copy link
Member Author

gumb0 commented Jul 18, 2019

Now GCC issue disappeared, so I think this is ready for review.

@gumb0 gumb0 removed the in progress label Jul 18, 2019
@gumb0 gumb0 requested review from chfast and halfalicious July 18, 2019 18:01
@gumb0 gumb0 force-pushed the optimizer-undefined branch from a1212a0 to 6b5c3e9 Compare July 23, 2019 09:50
@gumb0
Copy link
Member Author

gumb0 commented Jul 23, 2019

Rebased.

@gumb0 gumb0 merged commit ece9657 into master Jul 23, 2019
@gumb0 gumb0 deleted the optimizer-undefined branch July 23, 2019 10:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants