| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index 22ed052ba39eccaf4500e8366d553765416b09e1..11381a2194161ef7522f9fccda27e69deb500947 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -4429,13 +4429,22 @@ class HIsUndetectableAndBranch final : public HUnaryControlInstruction {
|
|
|
| bool KnownSuccessorBlock(HBasicBlock** block) override;
|
|
|
| + static const int kNoKnownSuccessorIndex = -1;
|
| + int known_successor_index() const { return known_successor_index_; }
|
| + void set_known_successor_index(int known_successor_index) {
|
| + known_successor_index_ = known_successor_index;
|
| + }
|
| +
|
| DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch)
|
|
|
| private:
|
| HIsUndetectableAndBranch(HValue* value,
|
| HBasicBlock* true_target = NULL,
|
| HBasicBlock* false_target = NULL)
|
| - : HUnaryControlInstruction(value, true_target, false_target) {}
|
| + : HUnaryControlInstruction(value, true_target, false_target),
|
| + known_successor_index_(kNoKnownSuccessorIndex) {}
|
| +
|
| + int known_successor_index_;
|
| };
|
|
|
|
|
|
|