Commit fb8fda8f authored by Paul's avatar Paul
Browse files

Remove static assert

parent c749ed33
......@@ -97,9 +97,6 @@ const std::vector<instruction_ref>& instruction::outputs() const { return output
bool operator==(const instruction& x, const instruction& y)
{
static_assert(sizeof(instruction) == (sizeof(x.op) + sizeof(x.result) + sizeof(x.output) +
sizeof(x.arguments) + sizeof(x.lit)),
"Update equality operator");
if(std::tie(x.result, x.op, x.arguments) != std::tie(y.result, y.op, y.arguments))
return false;
if(x.name() == "@literal")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment