aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/PeepholeOptimiser.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-02-07 18:13:45 +0800
committerGitHub <noreply@github.com>2017-02-07 18:13:45 +0800
commit277415be30588e9694552c43bdbc70cc93aab94a (patch)
treeae9b0621382a22141f2be4f839bdbd36f2a5a7db /libevmasm/PeepholeOptimiser.cpp
parent48f0da16b7cf820b276b97bbc41bf5daef201de5 (diff)
parent02a840f92474bfaded14a4412902b6ea35132f95 (diff)
downloaddexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar.gz
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar.bz2
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar.lz
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar.xz
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.tar.zst
dexon-solidity-277415be30588e9694552c43bdbc70cc93aab94a.zip
Merge pull request #1660 from ethereum/asm-selfdestruct
Rename SUICIDE opcode to SELFDESTRUCT in libevmasm
Diffstat (limited to 'libevmasm/PeepholeOptimiser.cpp')
-rw-r--r--libevmasm/PeepholeOptimiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/PeepholeOptimiser.cpp b/libevmasm/PeepholeOptimiser.cpp
index 528ce1c4..9a8341ab 100644
--- a/libevmasm/PeepholeOptimiser.cpp
+++ b/libevmasm/PeepholeOptimiser.cpp
@@ -200,7 +200,7 @@ struct UnreachableCode
it[0] != Instruction::RETURN &&
it[0] != Instruction::STOP &&
it[0] != Instruction::INVALID &&
- it[0] != Instruction::SUICIDE
+ it[0] != Instruction::SELFDESTRUCT
)
return false;