| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index f001feb12a7652d1e329c6d204e2e15fde2ab6fe..83812fd64dfe7ab6ef88940fb310baec24c15124 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1223,6 +1223,7 @@ class MaybeObject BASE_EMBEDDED {
|
| V(kOperandIsNotSmi, "Operand is not smi") \
|
| V(kOperandNotANumber, "Operand not a number") \
|
| V(kOptimizedTooManyTimes, "optimized too many times") \
|
| + V(kDeoptimizedTooManyTimes, "deoptimized too many times") \
|
| V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \
|
| "Out of virtual registers while trying to allocate temp register") \
|
| V(kParseScopeError, "parse/scope error") \
|
| @@ -6577,6 +6578,7 @@ class SharedFunctionInfo: public HeapObject {
|
| inline void set_deopt_count(int value);
|
| inline int deopt_count();
|
| inline void increment_deopt_count();
|
| + inline bool too_many_deopts();
|
|
|
| // Number of time we tried to re-enable optimization after it
|
| // was disabled due to high number of deoptimizations.
|
|
|