mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[evmasm::Assembly] Fix createAssemblyItemFromJSON value check: no value on c_instructions.
This commit is contained in:
parent
024f55165a
commit
a9b56ef5ff
@ -195,9 +195,7 @@ AssemblyItem Assembly::createAssemblyItemFromJSON(Json::Value const& _json, std:
|
||||
"Member 'jumpType' set on instruction different from JUMP or JUMPI (was set on instruction '" + name + "')"
|
||||
);
|
||||
}
|
||||
InstructionInfo info = instructionInfo(item.instruction(), m_evmVersion);
|
||||
if (info.args == 0)
|
||||
requireValueUndefinedForInstruction(name, value);
|
||||
requireValueUndefinedForInstruction(name, value);
|
||||
result = item;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user