diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-03-19 09:18:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 09:18:53 -0700 |
commit | 9e2559b789424ea1920c5e9c73b63a976390226c (patch) | |
tree | 67acda9f9737596c53200661901994adc24095f9 /src/wasm-s-parser.h | |
parent | dd3873375ca7375b79105742b30fa03f9f8a0c24 (diff) | |
download | binaryen-9e2559b789424ea1920c5e9c73b63a976390226c.tar.gz binaryen-9e2559b789424ea1920c5e9c73b63a976390226c.tar.bz2 binaryen-9e2559b789424ea1920c5e9c73b63a976390226c.zip |
Update v128.const text formats (#1934)
Parse the formats allowed by the spec proposal and emit the i32x4
canonical format.
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index f0ed79409..07de235a2 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -152,6 +152,7 @@ private: return stringToType(str.str, allowError, prefix); } Type stringToType(const char* str, bool allowError=false, bool prefix=false); + Type stringToLaneType(const char* str); bool isType(cashew::IString str) { return stringToType(str, true) != none; } |