Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: src/wasm/module-decoder.cc

Issue 2226053002: [wasm] Remove single function JIT support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Drop test Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | src/wasm/wasm-opcodes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/module-decoder.cc
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc
index 846da49bdb822a66eff15c9322b8226135e41a2b..542c47ca159c9836726ed92bf1b3f62e4bd5b9b0 100644
--- a/src/wasm/module-decoder.cc
+++ b/src/wasm/module-decoder.cc
@@ -507,10 +507,9 @@ class ModuleDecoder : public Decoder {
void DecodeFunctionTableInModule(WasmModule* module,
WasmIndirectFunctionTable* table) {
table->size = consume_u32v("function table entry count");
- table->max_size = FLAG_wasm_jit_prototype ? consume_u32v() : table->size;
+ table->max_size = table->size;
- if ((!FLAG_wasm_jit_prototype && table->max_size != table->size) ||
- (FLAG_wasm_jit_prototype && table->max_size < table->size)) {
+ if (table->max_size != table->size) {
error("invalid table maximum size");
}
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | src/wasm/wasm-opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698