diff options
Diffstat (limited to 'deps/v8/src/wasm/module-decoder.h')
-rw-r--r-- | deps/v8/src/wasm/module-decoder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/wasm/module-decoder.h b/deps/v8/src/wasm/module-decoder.h index 6feeebb41dd..4b157a4ab59 100644 --- a/deps/v8/src/wasm/module-decoder.h +++ b/deps/v8/src/wasm/module-decoder.h @@ -168,10 +168,10 @@ void DecodeFunctionNames(const byte* module_start, const byte* module_end, std::unordered_map<uint32_t, WireBytesRef>* names, const Vector<const WasmExport> export_table); -// Decode the global names from import table and export table. Returns the -// result as an unordered map. -void DecodeGlobalNames( - const Vector<const WasmImport> import_table, +// Decode the global or memory names from import table and export table. Returns +// the result as an unordered map. +void GenerateNamesFromImportsAndExports( + ImportExportKindCode kind, const Vector<const WasmImport> import_table, const Vector<const WasmExport> export_table, std::unordered_map<uint32_t, std::pair<WireBytesRef, WireBytesRef>>* names); |