Index: src/compiler/redundancy-elimination.h |
diff --git a/src/compiler/redundancy-elimination.h b/src/compiler/redundancy-elimination.h |
index 88f9032a84aa52e6c1662163e1cd2cfe400b342e..786c9608df3e1cf1a56d53029c7679b15cb82de3 100644 |
--- a/src/compiler/redundancy-elimination.h |
+++ b/src/compiler/redundancy-elimination.h |
@@ -34,6 +34,7 @@ class RedundancyElimination final : public AdvancedReducer { |
EffectPathChecks const* AddCheck(Zone* zone, Node* node) const; |
Node* LookupCheck(Node* node) const; |
+ Node* LookupBoundsCheckFor(Node* node) const; |
private: |
EffectPathChecks(Check* head, size_t size) : head_(head), size_(size) {} |
@@ -62,6 +63,8 @@ class RedundancyElimination final : public AdvancedReducer { |
Reduction TakeChecksFromFirstEffect(Node* node); |
Reduction UpdateChecks(Node* node, EffectPathChecks const* checks); |
+ Reduction TryReuseBoundsCheckForFirstInput(Node* node); |
+ |
Zone* zone() const { return zone_; } |
PathChecksForEffectNodes node_checks_; |