Drop support for evm15 and eip-615.

This commit is contained in:
Daniel Kirchner
2021-03-09 15:56:03 +01:00
parent 5c2cd8d553
commit a75424eec4
18 changed files with 40 additions and 225 deletions
+1 -2
View File
@@ -107,8 +107,7 @@ bool successParse(
bool successAssemble(string const& _source, bool _allowWarnings = true, AssemblyStack::Language _language = AssemblyStack::Language::Assembly)
{
return
successParse(_source, true, _allowWarnings, _language, AssemblyStack::Machine::EVM) &&
successParse(_source, true, _allowWarnings, _language, AssemblyStack::Machine::EVM15);
successParse(_source, true, _allowWarnings, _language, AssemblyStack::Machine::EVM);
}
Error expectError(
@@ -410,17 +410,6 @@ u256 EVMInstructionInterpreter::eval(
case Instruction::SWAP14:
case Instruction::SWAP15:
case Instruction::SWAP16:
// --------------- EIP-615 ---------------
case Instruction::EIP615_JUMPTO:
case Instruction::EIP615_JUMPIF:
case Instruction::EIP615_JUMPV:
case Instruction::EIP615_JUMPSUB:
case Instruction::EIP615_JUMPSUBV:
case Instruction::EIP615_BEGINSUB:
case Instruction::EIP615_BEGINDATA:
case Instruction::EIP615_RETURNSUB:
case Instruction::EIP615_PUTLOCAL:
case Instruction::EIP615_GETLOCAL:
{
yulAssert(false, "");
return 0;