From 9f8df195b7ff2ce47eec4e9b193ff3214ebed19c Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Fri, 19 Jan 2024 16:28:06 +0000 Subject: Revert^2 "Disable write-barrier elimination pass" This reverts commit 7c1dd6e2d1893f288214413c4b97273980f3aa4a. Reason for revert: build breakages, using a different number of temps vs the expected (crashing in https://cs.android.com/android/platform/superproject/main/+/main:art/compiler/optimizing/code_generator_x86_64.cc;l=5488;drc=7c1dd6e2d1893f288214413c4b97273980f3aa4a) Change-Id: I843c039394dd666776ea5bcb5b10b1f47df12d53 --- 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 0e26a501da..de6fc85da4 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