mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove suicide and sha3 assembly instructions
This commit is contained in:
committed by
Alex Beregszaszi
parent
ef8fb63b31
commit
6e29775d39
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user