aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorJason Cobb <jason.e.cobb@gmail.com>2018-04-17 05:11:32 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-04 08:04:48 +0800
commit6e29775d39be0c8e1415ee8775ab123c068e02fc (patch)
treed494f0634380d57170d62425077873002ffd9f3a /libsolidity
parentef8fb63b317e82f0bddb8ac917b065960380cd17 (diff)
downloaddexon-solidity-6e29775d39be0c8e1415ee8775ab123c068e02fc.tar.gz
dexon-solidity-6e29775d39be0c8e1415ee8775ab123c068e02fc.tar.zst
dexon-solidity-6e29775d39be0c8e1415ee8775ab123c068e02fc.zip
Remove suicide and sha3 assembly instructions
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp
index d300f8fb..431f33e5 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -318,11 +318,6 @@ std::map<string, dev::solidity::Instruction> const& Parser::instructions()
transform(name.begin(), name.end(), name.begin(), [](unsigned char _c) { return tolower(_c); });
s_instructions[name] = instruction.second;
}
-
- // add alias for suicide
- s_instructions["suicide"] = solidity::Instruction::SELFDESTRUCT;
- // add alis for sha3
- s_instructions["sha3"] = solidity::Instruction::KECCAK256;
}
return s_instructions;
}