Commit a0a47b25 authored by Deepti Gandluri's avatar Deepti Gandluri Committed by Commit Bot

[wasm] Use auto* for memory_tracker pointer

Change-Id: I453c356a6d9098739e7bf32d3c7a75c8afb7cab2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1554106Reviewed-by: 's avatarBen Smith <binji@chromium.org>
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60642}
parent b0077b3b
......@@ -1255,7 +1255,7 @@ int32_t WasmMemoryObject::Grow(Isolate* isolate,
uint32_t pages) {
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.wasm"), "GrowMemory");
Handle<JSArrayBuffer> old_buffer(memory_object->array_buffer(), isolate);
auto memory_tracker = isolate->wasm_engine()->memory_tracker();
auto* memory_tracker = isolate->wasm_engine()->memory_tracker();
if (!memory_tracker->IsWasmMemoryGrowable(old_buffer)) return -1;
// Checks for maximum memory size, compute new size.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment