diff options
Diffstat (limited to 'src/wast-parser.h')
-rw-r--r-- | src/wast-parser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wast-parser.h b/src/wast-parser.h index 7ddaf3b8..7dd4d038 100644 --- a/src/wast-parser.h +++ b/src/wast-parser.h @@ -169,6 +169,8 @@ class WastParser { Result ParseTerminatingInstrList(ExprList*); Result ParseInstr(ExprList*); Result ParsePlainInstr(std::unique_ptr<Expr>*); + Result ParseF32(Const*, ConstType type); + Result ParseF64(Const*, ConstType type); Result ParseConst(Const*, ConstType type); Result ParseHostRef(Const*); Result ParseExpectedNan(ExpectedNan* expected); @@ -214,7 +216,7 @@ class WastParser { template <typename T> Result ParseAssertScriptModuleCommand(TokenType, CommandPtr*); - Result ParseSimdV128Const(Const*, TokenType); + Result ParseSimdV128Const(Const*, TokenType, ConstType); void CheckImportOrdering(Module*); |