diff options
author | Ben Smith <binji@chromium.org> | 2016-01-05 11:47:05 -0800 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-01-05 11:50:20 -0800 |
commit | 519b49121bf028d8646a78e2621c3934fc92c095 (patch) | |
tree | 1b335a7e7ea4443ae4ff42858403174db6951fd6 /src/wasm-lexer.c | |
parent | d813f8351f17e8be44acd77127e9a6b8e1a69105 (diff) | |
download | wabt-519b49121bf028d8646a78e2621c3934fc92c095.tar.gz wabt-519b49121bf028d8646a78e2621c3934fc92c095.tar.bz2 wabt-519b49121bf028d8646a78e2621c3934fc92c095.zip |
Remove STORE_WRAP and LOAD_EXTEND expr nodes
They were copied as token types from the spec repo's parser, but they
were never treated distinctly. They don't provide any additional
information. Also, the spec repo doesn't reference them anymore anyway.
Diffstat (limited to 'src/wasm-lexer.c')
-rw-r--r-- | src/wasm-lexer.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/wasm-lexer.c b/src/wasm-lexer.c index b17a698f..623e3738 100644 --- a/src/wasm-lexer.c +++ b/src/wasm-lexer.c @@ -1834,77 +1834,77 @@ YY_RULE_SETUP case 39: YY_RULE_SETUP #line 173 "src/wasm-lexer.l" -{ MEMOPSIGN(I32, LOAD, 8, S); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I32, LOAD, 8, S); return TOK(LOAD); } YY_BREAK case 40: YY_RULE_SETUP #line 174 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 8, S); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 8, S); return TOK(LOAD); } YY_BREAK case 41: YY_RULE_SETUP #line 175 "src/wasm-lexer.l" -{ MEMOPSIGN(I32, LOAD, 8, U); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I32, LOAD, 8, U); return TOK(LOAD); } YY_BREAK case 42: YY_RULE_SETUP #line 176 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 8, U); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 8, U); return TOK(LOAD); } YY_BREAK case 43: YY_RULE_SETUP #line 177 "src/wasm-lexer.l" -{ MEMOPSIGN(I32, LOAD, 16, S); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I32, LOAD, 16, S); return TOK(LOAD); } YY_BREAK case 44: YY_RULE_SETUP #line 178 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 16, S); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 16, S); return TOK(LOAD); } YY_BREAK case 45: YY_RULE_SETUP #line 179 "src/wasm-lexer.l" -{ MEMOPSIGN(I32, LOAD, 16, U); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I32, LOAD, 16, U); return TOK(LOAD); } YY_BREAK case 46: YY_RULE_SETUP #line 180 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 16, U); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 16, U); return TOK(LOAD); } YY_BREAK case 47: YY_RULE_SETUP #line 181 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 32, S); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 32, S); return TOK(LOAD); } YY_BREAK case 48: YY_RULE_SETUP #line 182 "src/wasm-lexer.l" -{ MEMOPSIGN(I64, LOAD, 32, U); return TOK(LOAD_EXTEND); } +{ MEMOPSIGN(I64, LOAD, 32, U); return TOK(LOAD); } YY_BREAK case 49: YY_RULE_SETUP #line 183 "src/wasm-lexer.l" -{ MEMOP(I32, STORE, 8); return TOK(STORE_WRAP); } +{ MEMOP(I32, STORE, 8); return TOK(STORE); } YY_BREAK case 50: YY_RULE_SETUP #line 184 "src/wasm-lexer.l" -{ MEMOP(I64, STORE, 8); return TOK(STORE_WRAP); } +{ MEMOP(I64, STORE, 8); return TOK(STORE); } YY_BREAK case 51: YY_RULE_SETUP #line 185 "src/wasm-lexer.l" -{ MEMOP(I32, STORE, 16); return TOK(STORE_WRAP); } +{ MEMOP(I32, STORE, 16); return TOK(STORE); } YY_BREAK case 52: YY_RULE_SETUP #line 186 "src/wasm-lexer.l" -{ MEMOP(I64, STORE, 16); return TOK(STORE_WRAP); } +{ MEMOP(I64, STORE, 16); return TOK(STORE); } YY_BREAK case 53: YY_RULE_SETUP #line 187 "src/wasm-lexer.l" -{ MEMOP(I64, STORE, 32); return TOK(STORE_WRAP); } +{ MEMOP(I64, STORE, 32); return TOK(STORE); } YY_BREAK case 54: YY_RULE_SETUP |