From 31b949bc4a76e5c6d00a8e18c346f123b5321a1c Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Mon, 22 Jan 2024 15:03:42 +0000 Subject: Revert^4 "Disable write-barrier elimination pass" This reverts commit b5b98b9bb31acb2deffb692c50d0fbc71476663b. Reason for revert: Breaks tests in arm64 + heap poison configurations Bug: 310755375 Bug: 260843353 Change-Id: I682c74987a365497e0dbe47eba26a9ccf0513561 --- compiler/optimizing/code_generator.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index fbb4f9e21e..88e5a20240 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -380,11 +380,6 @@ class CodeGenerator : public DeletableArenaObject { bool EmitNonBakerReadBarrier() const; ReadBarrierOption GetCompilerReadBarrierOption() const; - // Returns true if we should check the GC card for consistency purposes. - bool ShouldCheckGCCard(DataType::Type type, - HInstruction* value, - WriteBarrierKind write_barrier_kind) const; - // Get the ScopedArenaAllocator used for codegen memory allocation. ScopedArenaAllocator* GetScopedAllocator(); @@ -508,11 +503,6 @@ class CodeGenerator : public DeletableArenaObject { return type == DataType::Type::kReference && !value->IsNullConstant(); } - // If we are compiling a graph with the WBE pass enabled, we want to honor the WriteBarrierKind - // set during the WBE pass. - bool StoreNeedsWriteBarrier(DataType::Type type, - HInstruction* value, - WriteBarrierKind write_barrier_kind) const; // Performs checks pertaining to an InvokeRuntime call. void ValidateInvokeRuntime(QuickEntrypointEnum entrypoint, -- cgit v1.2.3-59-g8ed1b