summaryrefslogtreecommitdiff
path: root/src/wast-lexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r--src/wast-lexer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc
index b0c740de..7008376f 100644
--- a/src/wast-lexer.cc
+++ b/src/wast-lexer.cc
@@ -613,6 +613,8 @@ Token WastLexer::GetToken(WastParser* parser) {
<i> "i32x4.ge_u" { RETURN_OPCODE(Compare, I32X4GeU); }
<i> "f32x4.ge" { RETURN_OPCODE(Compare, F32X4Ge); }
<i> "f64x2.ge" { RETURN_OPCODE(Compare, F64X2Ge); }
+ <i> "f32x4.neg" { RETURN_OPCODE(Unary, F32X4Neg); }
+ <i> "f64x2.neg" { RETURN_OPCODE(Unary, F64X2Neg); }
<i> "type" { RETURN(Type); }
<i> "func" { RETURN(Func); }