From 1ba3516e8c3e2b86c73084893dd297f468469181 Mon Sep 17 00:00:00 2001 From: Matthew Reynolds Date: Wed, 24 Jan 2024 17:42:08 +0000 Subject: Revert^6 "Disable write-barrier elimination pass" This reverts commit 1be176f5a78750e2f0e32470f8c83e3d1643954d. Reason for revert: Potential cause of build breakage for cf_riscv64_wear-trunk_staging-userdebug build 11353124 Change-Id: I5db1c9fba1edd4ab1eef30e2b547bb9649af5c10 --- compiler/optimizing/graph_checker.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/optimizing/graph_checker.h') diff --git a/compiler/optimizing/graph_checker.h b/compiler/optimizing/graph_checker.h index 5704bcec1a..38e2d7ced9 100644 --- a/compiler/optimizing/graph_checker.h +++ b/compiler/optimizing/graph_checker.h @@ -59,8 +59,6 @@ class GraphChecker : public HGraphDelegateVisitor { void VisitPhi(HPhi* phi) override; void VisitArraySet(HArraySet* instruction) override; - void VisitInstanceFieldSet(HInstanceFieldSet* instruction) override; - void VisitStaticFieldSet(HStaticFieldSet* instruction) override; void VisitBinaryOperation(HBinaryOperation* op) override; void VisitBooleanNot(HBooleanNot* instruction) override; void VisitBoundType(HBoundType* instruction) override; @@ -95,9 +93,6 @@ class GraphChecker : public HGraphDelegateVisitor { void HandleLoop(HBasicBlock* loop_header); void HandleBooleanInput(HInstruction* instruction, size_t input_index); - template - void CheckWriteBarrier(HInstruction* instruction, GetWriteBarrierKind&& get_write_barrier_kind); - // Was the last visit of the graph valid? bool IsValid() const { return errors_.empty(); -- cgit v1.2.3-59-g8ed1b