From be13e0f115c6627b286343368fb125e18d332486 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Mon, 5 Feb 2024 12:08:02 -0800 Subject: [Parser] Parse v128.const (#6275) --- src/parser/input-impl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/parser/input-impl.h') diff --git a/src/parser/input-impl.h b/src/parser/input-impl.h index 3ffce07f8..e3cf52015 100644 --- a/src/parser/input-impl.h +++ b/src/parser/input-impl.h @@ -170,8 +170,14 @@ inline std::optional ParseInput::takeI32() { return takeI(); } +inline std::optional ParseInput::takeI16() { + return takeI(); +} + inline std::optional ParseInput::takeU8() { return takeU(); } +inline std::optional ParseInput::takeI8() { return takeI(); } + inline std::optional ParseInput::takeF64() { if (auto t = peek()) { if (auto d = t->getF64()) { -- cgit v1.2.3