From 6e29775d39be0c8e1415ee8775ab123c068e02fc Mon Sep 17 00:00:00 2001 From: Jason Cobb Date: Mon, 16 Apr 2018 17:11:32 -0400 Subject: Remove suicide and sha3 assembly instructions --- libsolidity/inlineasm/AsmParser.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libsolidity') 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 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; } -- cgit