| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 908faa8011d90142295ee522345fbaf69c0ac181..6ae26733fd664223c682c42d72ae9147e3cbda66 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -4423,6 +4423,12 @@ class HIsStringAndBranch V8_FINAL : public HUnaryControlInstruction {
|
|
|
| virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_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(IsStringAndBranch)
|
|
|
| protected:
|
| @@ -4432,7 +4438,10 @@ class HIsStringAndBranch V8_FINAL : public HUnaryControlInstruction {
|
| HIsStringAndBranch(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_;
|
| };
|
|
|
|
|
|
|