From f0bb7c5b69900001e51620d61e6d0c6339a4ff9f Mon Sep 17 00:00:00 2001 From: Daniel Bratell Date: Thu, 24 Jan 2019 12:03:25 +0100 Subject: [PATCH] [wasm] Remove unused member variable After the v8:8689 "Split compilation in three stages" commit landed, WasmCompilationUnit::result_ was left dangling. In builds that noticed this (in particular certain jumbo builds), the -Wunused-private-field warning triggered which broke the build. Bug: v8:8689 Change-Id: Iafc56b3dc6bb53e2e8417cabce540c2fcfd3431a Reviewed-on: https://chromium-review.googlesource.com/c/1433780 Commit-Queue: Clemens Hammacher Reviewed-by: Ben Titzer Reviewed-by: Clemens Hammacher Cr-Commit-Position: refs/heads/master@{#59059} --- src/wasm/function-compiler.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wasm/function-compiler.h b/src/wasm/function-compiler.h index 8f235a5d1ce2..e9dcc7734c42 100644 --- a/src/wasm/function-compiler.h +++ b/src/wasm/function-compiler.h @@ -100,7 +100,6 @@ class WasmCompilationUnit final { WasmEngine* const wasm_engine_; const int func_index_; ExecutionTier tier_; - WasmCode* result_ = nullptr; // LiftoffCompilationUnit, set if {tier_ == kLiftoff}. std::unique_ptr liftoff_unit_;