diff options
author | Ben Smith <binji@chromium.org> | 2015-12-17 11:41:43 -0800 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2015-12-17 11:41:43 -0800 |
commit | a27b0c7b993b0eb9caf6dc7f9d0c7d95f177029c (patch) | |
tree | 4f9376dd68abbdef03eef7289083a9bfdf5a408c /src/wasm-parser.y | |
parent | acf0cc3288fc7f45ae1ae4f134ac37a812b4939a (diff) | |
download | wabt-a27b0c7b993b0eb9caf6dc7f9d0c7d95f177029c.tar.gz wabt-a27b0c7b993b0eb9caf6dc7f9d0c7d95f177029c.tar.bz2 wabt-a27b0c7b993b0eb9caf6dc7f9d0c7d95f177029c.zip |
remove page_size operation
Diffstat (limited to 'src/wasm-parser.y')
-rw-r--r-- | src/wasm-parser.y | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wasm-parser.y b/src/wasm-parser.y index ab9dd5e0..0e3a8dcd 100644 --- a/src/wasm-parser.y +++ b/src/wasm-parser.y @@ -91,7 +91,7 @@ static WasmResult dup_string_contents(WasmStringSlice * text, void** out_data, %token MODULE MEMORY SEGMENT IMPORT EXPORT TABLE %token UNREACHABLE MEMORY_SIZE GROW_MEMORY HAS_FEATURE %token ASSERT_INVALID ASSERT_RETURN ASSERT_RETURN_NAN ASSERT_TRAP INVOKE -%token GLOBAL LOAD_GLOBAL STORE_GLOBAL PAGE_SIZE +%token GLOBAL LOAD_GLOBAL STORE_GLOBAL %token EOF 0 "EOF" %type<binary> BINARY @@ -504,10 +504,6 @@ expr1 : $$->store_global.var = $2; $$->store_global.expr = $3; } - | PAGE_SIZE { - $$ = wasm_new_expr(WASM_EXPR_TYPE_PAGE_SIZE); - CHECK_ALLOC_NULL($$); - } ; expr_opt : /* empty */ { $$ = NULL; } |