diff options
author | chriseth <chris@ethereum.org> | 2017-01-27 21:10:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-27 21:10:22 +0800 |
commit | b2c35fb41a65dc996189b890f292103d9318b53e (patch) | |
tree | cd2a2fd222994c64d5ad946dfb8210848e2fc5e6 /libevmasm/PeepholeOptimiser.cpp | |
parent | 636e480156130ec44c5b85890ebe0c3792a75061 (diff) | |
parent | bff8fc23e6cc602511b52aaa665e63b948eba068 (diff) | |
download | dexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.tar.gz dexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.tar.zst dexon-solidity-b2c35fb41a65dc996189b890f292103d9318b53e.zip |
Merge pull request #1598 from wuestholz/develop
Change translation of implicit throws
Diffstat (limited to 'libevmasm/PeepholeOptimiser.cpp')
-rw-r--r-- | libevmasm/PeepholeOptimiser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libevmasm/PeepholeOptimiser.cpp b/libevmasm/PeepholeOptimiser.cpp index 923ffa67..528ce1c4 100644 --- a/libevmasm/PeepholeOptimiser.cpp +++ b/libevmasm/PeepholeOptimiser.cpp @@ -199,6 +199,7 @@ struct UnreachableCode it[0] != Instruction::JUMP && it[0] != Instruction::RETURN && it[0] != Instruction::STOP && + it[0] != Instruction::INVALID && it[0] != Instruction::SUICIDE ) return false; |