Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index c13be919f9076ae19966f39b275d1280e9a99c30..d02a3488e96384698d2cd9f1c4f478549c1d2800 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1363,7 +1363,8 @@ class HGoto FINAL : public HTemplateControlInstruction<1, 0> { |
class HDeoptimize FINAL : public HTemplateControlInstruction<1, 0> { |
public: |
static HDeoptimize* New(Isolate* isolate, Zone* zone, HValue* context, |
- const char* reason, Deoptimizer::BailoutType type, |
+ Deoptimizer::DeoptReason reason, |
+ Deoptimizer::BailoutType type, |
HBasicBlock* unreachable_continuation) { |
return new(zone) HDeoptimize(reason, type, unreachable_continuation); |
} |
@@ -1377,20 +1378,20 @@ class HDeoptimize FINAL : public HTemplateControlInstruction<1, 0> { |
return Representation::None(); |
} |
- const char* reason() const { return reason_; } |
+ Deoptimizer::DeoptReason reason() const { return reason_; } |
Deoptimizer::BailoutType type() { return type_; } |
DECLARE_CONCRETE_INSTRUCTION(Deoptimize) |
private: |
- explicit HDeoptimize(const char* reason, |
+ explicit HDeoptimize(Deoptimizer::DeoptReason reason, |
Deoptimizer::BailoutType type, |
HBasicBlock* unreachable_continuation) |
: reason_(reason), type_(type) { |
SetSuccessorAt(0, unreachable_continuation); |
} |
- const char* reason_; |
+ Deoptimizer::DeoptReason reason_; |
Deoptimizer::BailoutType type_; |
}; |