[wasm] Document what StringLiteral is

This commit is contained in:
Alex Beregszaszi
2020-11-20 21:16:56 +00:00
parent 3a3303f24e
commit f76ac0a753
3 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -345,8 +345,9 @@ bytes BinaryTransform::operator()(Literal const& _literal)
bytes BinaryTransform::operator()(StringLiteral const&)
{
// TODO is this used?
yulAssert(false, "String literals not yet implemented");
// StringLiteral is a special AST element used for certain builtins.
// It is not mapped to actual WebAssembly, and should be processed in visit(BuiltinCall).
yulAssert(false, "");
}
bytes BinaryTransform::operator()(LocalVariable const& _variable)