Remove dead code

This commit is contained in:
Alex Beregszaszi 2020-11-05 01:25:53 +00:00 committed by chriseth
parent 43353bb6ca
commit e2a756a705

View File

@ -199,21 +199,8 @@ Statement Parser::parseStatement()
break;
}
if (holds_alternative<Identifier>(elementary))
{
Identifier identifier = std::get<Identifier>(move(elementary));
return ExpressionStatement{identifier.location, { move(identifier) }};
}
else if (holds_alternative<Literal>(elementary))
{
Literal literal = std::get<Literal>(move(elementary));
return ExpressionStatement{literal.location, { move(literal) }};
}
else
{
yulAssert(false, "Invalid elementary operation.");
return {};
}
yulAssert(false, "");
return {};
}
Case Parser::parseCase()