Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 0ca78e9f594d44ba8ff9f8c9e582f82be7a1aa74..7a6eae449c5b8952b90669f9d346b98db0222b77 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1475,7 +1475,7 @@ |
HValue* EnforceNumberType(HValue* number, Type* expected); |
HValue* TruncateToNumber(HValue* value, Type** expected); |
- void FinishExitWithHardDeoptimization(Deoptimizer::DeoptReason reason); |
+ void FinishExitWithHardDeoptimization(const char* reason); |
void AddIncrementCounter(StatsCounter* counter); |
@@ -1623,12 +1623,12 @@ |
void Else(); |
void End(); |
- void Deopt(Deoptimizer::DeoptReason reason); |
- void ThenDeopt(Deoptimizer::DeoptReason reason) { |
+ void Deopt(const char* reason); |
+ void ThenDeopt(const char* reason) { |
Then(); |
Deopt(reason); |
} |
- void ElseDeopt(Deoptimizer::DeoptReason reason) { |
+ void ElseDeopt(const char* reason) { |
Else(); |
Deopt(reason); |
} |
@@ -1938,9 +1938,9 @@ |
}; |
-template <> |
+template<> |
inline HDeoptimize* HGraphBuilder::Add<HDeoptimize>( |
- Deoptimizer::DeoptReason reason, Deoptimizer::BailoutType type) { |
+ const char* reason, Deoptimizer::BailoutType type) { |
if (type == Deoptimizer::SOFT) { |
isolate()->counters()->soft_deopts_requested()->Increment(); |
if (FLAG_always_opt) return NULL; |
@@ -1958,9 +1958,9 @@ |
} |
-template <> |
+template<> |
inline HInstruction* HGraphBuilder::AddUncasted<HDeoptimize>( |
- Deoptimizer::DeoptReason reason, Deoptimizer::BailoutType type) { |
+ const char* reason, Deoptimizer::BailoutType type) { |
return Add<HDeoptimize>(reason, type); |
} |