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

Unified Diff: src/wasm/wasm-module.h

Issue 1783593002: [wasm] Encode function signatures, bodies, and names as separate sections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added unittests Created 4 years, 9 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/module-decoder.cc ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 4a6eb92b5d040237f856e66872a6674081bf981d..73fca3de89e1b0725f6be1360b333812cfa01257 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -29,17 +29,20 @@ const uint32_t kWasmVersion = 0x0a;
// internally V8 uses an enum to handle them.
//
// Entries have the form F(enumerator, string).
-#define FOR_EACH_WASM_SECTION_TYPE(F) \
- F(kDeclMemory, "memory") \
- F(kDeclSignatures, "signatures") \
- F(kDeclFunctions, "functions") \
- F(kDeclGlobals, "globals") \
- F(kDeclDataSegments, "data_segments") \
- F(kDeclFunctionTable, "function_table") \
- F(kDeclEnd, "end") \
- F(kDeclStartFunction, "start_function") \
- F(kDeclImportTable, "import_table") \
- F(kDeclExportTable, "export_table")
+#define FOR_EACH_WASM_SECTION_TYPE(F) \
+ F(kDeclMemory, "memory") \
+ F(kDeclSignatures, "signatures") \
+ F(kDeclFunctions, "functions") \
+ F(kDeclGlobals, "globals") \
+ F(kDeclDataSegments, "data_segments") \
+ F(kDeclFunctionTable, "function_table") \
+ F(kDeclEnd, "end") \
+ F(kDeclStartFunction, "start_function") \
+ F(kDeclImportTable, "import_table") \
+ F(kDeclExportTable, "export_table") \
+ F(kDeclFunctionSignatures, "function_signatures") \
+ F(kDeclFunctionBodies, "function_bodies") \
+ F(kDeclNames, "names")
enum WasmSectionDeclCode : uint32_t {
#define F(enumerator, string) enumerator,
« no previous file with comments | « src/wasm/module-decoder.cc ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698