Index: src/wasm/module-decoder.cc |
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc |
index 0189b2af524febbb2397e79442cc0057332b1bfb..f09e4ea77b2ebe1d6384c9b23ab9ee4b64338553 100644 |
--- a/src/wasm/module-decoder.cc |
+++ b/src/wasm/module-decoder.cc |
@@ -780,7 +780,7 @@ ModuleResult DecodeWasmModule(Isolate* isolate, Zone* zone, |
ModuleDecoder decoder(zone, module_start, module_end, origin); |
ModuleResult result = decoder.DecodeModule(module, verify_functions); |
// TODO(bradnelson): Improve histogram handling of size_t. |
- isolate->counters()->wasm_decode_peak_memory_bytes()->AddSample( |
+ isolate->counters()->wasm_decode_module_peak_memory_bytes()->AddSample( |
static_cast<int>(zone->allocation_size() - decode_memory_start)); |
return result; |
} |