diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp index 0a55733bf..fe44a7c18 100644 --- a/libevmasm/Assembly.cpp +++ b/libevmasm/Assembly.cpp @@ -196,9 +196,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