Index: src/compiler/instruction.h |
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h |
index f207c7622e90cc8d6144cdab4b3c69ff0f9ee510..7b2b7e03e4b3ad1c3a0122f237b55e992ea603d4 100644 |
--- a/src/compiler/instruction.h |
+++ b/src/compiler/instruction.h |
@@ -1296,17 +1296,14 @@ |
class DeoptimizationEntry final { |
public: |
DeoptimizationEntry() {} |
- DeoptimizationEntry(FrameStateDescriptor* descriptor, DeoptimizeKind kind, |
- DeoptimizeReason reason) |
- : descriptor_(descriptor), kind_(kind), reason_(reason) {} |
+ DeoptimizationEntry(FrameStateDescriptor* descriptor, DeoptimizeReason reason) |
+ : descriptor_(descriptor), reason_(reason) {} |
FrameStateDescriptor* descriptor() const { return descriptor_; } |
- DeoptimizeKind kind() const { return kind_; } |
DeoptimizeReason reason() const { return reason_; } |
private: |
FrameStateDescriptor* descriptor_ = nullptr; |
- DeoptimizeKind kind_ = DeoptimizeKind::kEager; |
DeoptimizeReason reason_ = DeoptimizeReason::kNoReason; |
}; |
@@ -1566,7 +1563,7 @@ |
} |
int AddDeoptimizationEntry(FrameStateDescriptor* descriptor, |
- DeoptimizeKind kind, DeoptimizeReason reason); |
+ DeoptimizeReason reason); |
DeoptimizationEntry const& GetDeoptimizationEntry(int deoptimization_id); |
int GetDeoptimizationEntryCount() const { |
return static_cast<int>(deoptimization_entries_.size()); |