libyul: AST cleanup, eliminating dead Instruction AST type.

This commit is contained in:
Christian Parpart
2019-11-01 12:32:25 +01:00
parent 42b8c98567
commit 112e63fe15
12 changed files with 3 additions and 37 deletions
+2 -2
View File
@@ -232,8 +232,8 @@ Statement Parser::parseStatement()
}
else
{
solAssert(elementary.type() == typeid(Instruction), "Invalid elementary operation.");
return boost::get<Instruction>(elementary);
solAssert(false, "Invalid elementary operation.");
return {};
}
}