Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index ecda4533517e8a21fbcf7a9741f8cf443ec498d0..60522b17998db7a6650635babebd18235898ff6d 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -350,10 +350,9 @@ |
// Creates a new flags continuation for an eager deoptimization exit. |
static FlagsContinuation ForDeoptimize(FlagsCondition condition, |
- DeoptimizeKind kind, |
DeoptimizeReason reason, |
Node* frame_state) { |
- return FlagsContinuation(condition, kind, reason, frame_state); |
+ return FlagsContinuation(condition, reason, frame_state); |
} |
// Creates a new flags continuation for a boolean value. |
@@ -376,10 +375,6 @@ |
DCHECK(!IsNone()); |
return condition_; |
} |
- DeoptimizeKind kind() const { |
- DCHECK(IsDeoptimize()); |
- return kind_; |
- } |
DeoptimizeReason reason() const { |
DCHECK(IsDeoptimize()); |
return reason_; |
@@ -453,11 +448,10 @@ |
} |
private: |
- FlagsContinuation(FlagsCondition condition, DeoptimizeKind kind, |
- DeoptimizeReason reason, Node* frame_state) |
+ FlagsContinuation(FlagsCondition condition, DeoptimizeReason reason, |
+ Node* frame_state) |
: mode_(kFlags_deoptimize), |
condition_(condition), |
- kind_(kind), |
reason_(reason), |
frame_state_or_result_(frame_state) { |
DCHECK_NOT_NULL(frame_state); |
@@ -480,8 +474,7 @@ |
FlagsMode const mode_; |
FlagsCondition condition_; |
- DeoptimizeKind kind_; // Only valid if mode_ == kFlags_deoptimize |
- DeoptimizeReason reason_; // Only valid if mode_ == kFlags_deoptimize |
+ DeoptimizeReason reason_; // Only value if mode_ == kFlags_deoptimize |
Node* frame_state_or_result_; // Only valid if mode_ == kFlags_deoptimize |
// or mode_ == kFlags_set. |
BasicBlock* true_block_; // Only valid if mode_ == kFlags_branch. |