| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index ad7b85c752193a1e0e32e03e270d941c882e1cc7..98c7275f8558c599a191c3dc0303b939f51a71ea 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -1301,7 +1301,7 @@ class HGoto final : public HTemplateControlInstruction<1, 0> {
|
| class HDeoptimize final : public HTemplateControlInstruction<1, 0> {
|
| public:
|
| static HDeoptimize* New(Isolate* isolate, Zone* zone, HValue* context,
|
| - Deoptimizer::DeoptReason reason,
|
| + DeoptimizeReason reason,
|
| Deoptimizer::BailoutType type,
|
| HBasicBlock* unreachable_continuation) {
|
| return new(zone) HDeoptimize(reason, type, unreachable_continuation);
|
| @@ -1316,20 +1316,19 @@ class HDeoptimize final : public HTemplateControlInstruction<1, 0> {
|
| return Representation::None();
|
| }
|
|
|
| - Deoptimizer::DeoptReason reason() const { return reason_; }
|
| + DeoptimizeReason reason() const { return reason_; }
|
| Deoptimizer::BailoutType type() { return type_; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(Deoptimize)
|
|
|
| private:
|
| - explicit HDeoptimize(Deoptimizer::DeoptReason reason,
|
| - Deoptimizer::BailoutType type,
|
| + explicit HDeoptimize(DeoptimizeReason reason, Deoptimizer::BailoutType type,
|
| HBasicBlock* unreachable_continuation)
|
| : reason_(reason), type_(type) {
|
| SetSuccessorAt(0, unreachable_continuation);
|
| }
|
|
|
| - Deoptimizer::DeoptReason reason_;
|
| + DeoptimizeReason reason_;
|
| Deoptimizer::BailoutType type_;
|
| };
|
|
|
|
|