From c30a6232df03e1efbd9f3b226777b07e087a1122 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 12 Oct 2020 14:27:29 +0200 Subject: BASELINE: Update Chromium to 85.0.4183.140 Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen --- chromium/v8/src/wasm/function-compiler.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chromium/v8/src/wasm/function-compiler.cc') diff --git a/chromium/v8/src/wasm/function-compiler.cc b/chromium/v8/src/wasm/function-compiler.cc index 6b25520d84f..e268667d287 100644 --- a/chromium/v8/src/wasm/function-compiler.cc +++ b/chromium/v8/src/wasm/function-compiler.cc @@ -48,7 +48,7 @@ class WasmInstructionBufferImpl { DCHECK_LT(size(), new_size); holder_->old_buffer_ = std::move(holder_->buffer_); - holder_->buffer_ = OwnedVector::New(new_size); + holder_->buffer_ = OwnedVector::NewForOverwrite(new_size); return std::make_unique(holder_->buffer_.as_vector(), holder_); } @@ -58,7 +58,7 @@ class WasmInstructionBufferImpl { }; explicit WasmInstructionBufferImpl(size_t size) - : buffer_(OwnedVector::New(size)) {} + : buffer_(OwnedVector::NewForOverwrite(size)) {} std::unique_ptr CreateView() { DCHECK_NOT_NULL(buffer_); @@ -278,7 +278,8 @@ JSToWasmWrapperCompilationUnit::JSToWasmWrapperCompilationUnit( JSToWasmWrapperCompilationUnit::~JSToWasmWrapperCompilationUnit() = default; void JSToWasmWrapperCompilationUnit::Execute() { - TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.wasm"), "CompileJSToWasmWrapper"); + TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.wasm.detailed"), + "wasm.CompileJSToWasmWrapper"); CompilationJob::Status status = job_->ExecuteJob(nullptr); CHECK_EQ(status, CompilationJob::SUCCEEDED); } -- cgit v1.2.1