summaryrefslogtreecommitdiff
path: root/compiler/optimizing/bounds_check_elimination.h
diff options
context:
space:
mode:
author Aart Bik <ajcbik@google.com> 2015-11-21 05:21:52 +0000
committer Aart Bik <ajcbik@google.com> 2015-11-21 05:21:52 +0000
commitd59c70627cc42878cc30b46bd29ff497b4483b22 (patch)
treeb0b7013ea78b10f23fae75ef145e53a696ff797c /compiler/optimizing/bounds_check_elimination.h
parent0b5849be045c5683d4a6b6b6c306abadba5f0fcc (diff)
Revert "Dynamic BCE (based on induction range analysis)"
This reverts commit 0b5849be045c5683d4a6b6b6c306abadba5f0fcc. Change-Id: Id33f5da42bbdfb1aff7e2281417c8a7aa492df05 Rationale: so close :-( but bullhead-userdebug (linux) build in git_mnc-dr-dev-plus-aosp reported a breakage with a type inconsistency (long vs int in probably the codegen of dynamic bce); no time to investigate and fix this fully before my trip, so rolling back for now
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination.h')
-rw-r--r--compiler/optimizing/bounds_check_elimination.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.h b/compiler/optimizing/bounds_check_elimination.h
index b9df686ffd..cdff3ca0ba 100644
--- a/compiler/optimizing/bounds_check_elimination.h
+++ b/compiler/optimizing/bounds_check_elimination.h
@@ -21,16 +21,12 @@
namespace art {
-class SideEffectsAnalysis;
class HInductionVarAnalysis;
class BoundsCheckElimination : public HOptimization {
public:
- BoundsCheckElimination(HGraph* graph,
- const SideEffectsAnalysis& side_effects,
- HInductionVarAnalysis* induction_analysis)
+ BoundsCheckElimination(HGraph* graph, HInductionVarAnalysis* induction_analysis)
: HOptimization(graph, kBoundsCheckEliminiationPassName),
- side_effects_(side_effects),
induction_analysis_(induction_analysis) {}
void Run() OVERRIDE;
@@ -38,7 +34,6 @@ class BoundsCheckElimination : public HOptimization {
static constexpr const char* kBoundsCheckEliminiationPassName = "BCE";
private:
- const SideEffectsAnalysis& side_effects_;
HInductionVarAnalysis* induction_analysis_;
DISALLOW_COPY_AND_ASSIGN(BoundsCheckElimination);