diff options
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r-- | src/wast-lexer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc index 694f2703..2fc42eba 100644 --- a/src/wast-lexer.cc +++ b/src/wast-lexer.cc @@ -531,6 +531,10 @@ Token WastLexer::GetToken(WastParser* parser) { <i> "i8x16.mul" { RETURN_OPCODE(Binary, I8X16Mul); } <i> "i16x8.mul" { RETURN_OPCODE(Binary, I16X8Mul); } <i> "i32x4.mul" { RETURN_OPCODE(Binary, I32X4Mul); } + <i> "i8x16.neg" { RETURN_OPCODE(Unary, I8X16Neg); } + <i> "i16x8.neg" { RETURN_OPCODE(Unary, I16X8Neg); } + <i> "i32x4.neg" { RETURN_OPCODE(Unary, I32X4Neg); } + <i> "i64x2.neg" { RETURN_OPCODE(Unary, I64X2Neg); } <i> "type" { RETURN(Type); } <i> "func" { RETURN(Func); } |