LibWasm: Remove unused ParseError variant

This commit is contained in:
Diego Frias 2024-07-27 17:23:38 -07:00 committed by Ali Mohammad Pur
parent 9800ef6047
commit 41dc58f702
Notes: github-actions[bot] 2024-07-28 11:03:31 +00:00
2 changed files with 0 additions and 4 deletions

View file

@ -1310,8 +1310,6 @@ ByteString parse_error_to_byte_string(ParseError error)
return "A parsed tag did not make sense in context";
case ParseError::InvalidType:
return "A parsed type did not make sense in context";
case ParseError::NotImplemented:
return "The parser encountered an unimplemented feature";
case ParseError::HugeAllocationRequested:
return "Parsing caused an attempt to allocate a very big chunk of memory, likely malformed data";
case ParseError::OutOfMemory:

View file

@ -56,8 +56,6 @@ enum class ParseError {
OutOfMemory,
SectionSizeMismatch,
InvalidUtf8,
// FIXME: This should not exist!
NotImplemented,
};
ByteString parse_error_to_byte_string(ParseError);