Index: src/compiler/redundancy-elimination.h |
diff --git a/src/compiler/redundancy-elimination.h b/src/compiler/redundancy-elimination.h |
index 88f9032a84aa52e6c1662163e1cd2cfe400b342e..73753a5f50c94064070808fe5dc1ac257844a164 100644 |
--- a/src/compiler/redundancy-elimination.h |
+++ b/src/compiler/redundancy-elimination.h |
@@ -33,7 +33,8 @@ class RedundancyElimination final : public AdvancedReducer { |
void Merge(EffectPathChecks const* that); |
EffectPathChecks const* AddCheck(Zone* zone, Node* node) const; |
- Node* LookupCheck(Node* node) const; |
+ template <typename Predicate> |
+ V8_INLINE Node* LookupCheck(Node* node, Predicate predicate) const; |
private: |
EffectPathChecks(Check* head, size_t size) : head_(head), size_(size) {} |
@@ -55,6 +56,7 @@ class RedundancyElimination final : public AdvancedReducer { |
}; |
Reduction ReduceCheckNode(Node* node); |
+ Reduction ReduceSpeculativeNode(Node* node); |
Reduction ReduceEffectPhi(Node* node); |
Reduction ReduceStart(Node* node); |
Reduction ReduceOtherNode(Node* node); |