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

Replace optimizer-special opcodes with 0xaf instead of INVALID. #5680

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Jul 17, 2019

Follow-up to #5666 fix.
Fixes the problem described in #5653 (comment) - allows EVMC_UNDEFINED_INSTRUCTION to be returned when PUSHC/JUMPC/JUMPCI are encountered in input code.

This way when PUSHC/JUMPC/JUMPCI are encountered in input code, EVMC_UNDEFINED_INSTRUCTION will be returned and not EVMC_INVALID_INSTRUCTION.
@codecov-io
Copy link

Codecov Report

Merging #5680 into master will increase coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5680      +/-   ##
==========================================
+ Coverage   63.03%   63.05%   +0.02%     
==========================================
  Files         350      350              
  Lines       29952    29952              
  Branches     3352     3352              
==========================================
+ Hits        18880    18887       +7     
+ Misses       9856     9851       -5     
+ Partials     1216     1214       -2

@gumb0 gumb0 merged commit a236742 into master Jul 17, 2019
@gumb0 gumb0 deleted the optimizer-undefined2 branch July 17, 2019 12:54
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