| Index: src/deoptimize-reason.h
|
| diff --git a/src/deoptimize-reason.h b/src/deoptimize-reason.h
|
| index e416c9ee59bb4a7576c89911123a605f634494c4..8b93839e103fbad48d23fed2d9c95d496c8167f0 100644
|
| --- a/src/deoptimize-reason.h
|
| +++ b/src/deoptimize-reason.h
|
| @@ -10,70 +10,70 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -#define DEOPTIMIZE_REASON_LIST(V) \
|
| - V(AccessCheck, "Access check needed") \
|
| - V(NoReason, "no reason") \
|
| - V(ConstantGlobalVariableAssignment, "Constant global variable assignment") \
|
| - V(ConversionOverflow, "conversion overflow") \
|
| - V(DivisionByZero, "division by zero") \
|
| - V(ExpectedHeapNumber, "Expected heap number") \
|
| - V(ExpectedSmi, "Expected smi") \
|
| - V(ForcedDeoptToRuntime, "Forced deopt to runtime") \
|
| - V(Hole, "hole") \
|
| - V(InstanceMigrationFailed, "instance migration failed") \
|
| - V(InsufficientTypeFeedbackForCall, "Insufficient type feedback for call") \
|
| - V(InsufficientTypeFeedbackForCallWithArguments, \
|
| - "Insufficient type feedback for call with arguments") \
|
| - V(FastPathFailed, "Falling off the fast path") \
|
| - V(InsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \
|
| - "Insufficient type feedback for combined type of binary operation") \
|
| - V(InsufficientTypeFeedbackForGenericNamedAccess, \
|
| - "Insufficient type feedback for generic named access") \
|
| - V(InsufficientTypeFeedbackForGenericKeyedAccess, \
|
| - "Insufficient type feedback for generic keyed access") \
|
| - V(InsufficientTypeFeedbackForLHSOfBinaryOperation, \
|
| - "Insufficient type feedback for LHS of binary operation") \
|
| - V(InsufficientTypeFeedbackForRHSOfBinaryOperation, \
|
| - "Insufficient type feedback for RHS of binary operation") \
|
| - V(KeyIsNegative, "key is negative") \
|
| - V(LostPrecision, "lost precision") \
|
| - V(LostPrecisionOrNaN, "lost precision or NaN") \
|
| - V(MementoFound, "memento found") \
|
| - V(MinusZero, "minus zero") \
|
| - V(NaN, "NaN") \
|
| - V(NegativeKeyEncountered, "Negative key encountered") \
|
| - V(NegativeValue, "negative value") \
|
| - V(NoCache, "no cache") \
|
| - V(NotAHeapNumber, "not a heap number") \
|
| - V(NotAHeapNumberUndefinedBoolean, "not a heap number/undefined/true/false") \
|
| - V(NotAHeapNumberUndefined, "not a heap number/undefined") \
|
| - V(NotAJavaScriptObject, "not a JavaScript object") \
|
| - V(NotASmi, "not a Smi") \
|
| - V(OutOfBounds, "out of bounds") \
|
| - V(OutsideOfRange, "Outside of range") \
|
| - V(Overflow, "overflow") \
|
| - V(Proxy, "proxy") \
|
| - V(ReceiverWasAGlobalObject, "receiver was a global object") \
|
| - V(Smi, "Smi") \
|
| - V(TooManyArguments, "too many arguments") \
|
| - V(TracingElementsTransitions, "Tracing elements transitions") \
|
| - V(TypeMismatchBetweenFeedbackAndConstant, \
|
| - "Type mismatch between feedback and constant") \
|
| - V(UnexpectedCellContentsInConstantGlobalStore, \
|
| - "Unexpected cell contents in constant global store") \
|
| - V(UnexpectedCellContentsInGlobalStore, \
|
| - "Unexpected cell contents in global store") \
|
| - V(UnexpectedObject, "unexpected object") \
|
| - V(UnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \
|
| - V(UnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \
|
| - V(UnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \
|
| - V(UnknownMapInPolymorphicElementAccess, \
|
| - "Unknown map in polymorphic element access") \
|
| - V(UnknownMap, "Unknown map") \
|
| - V(ValueMismatch, "value mismatch") \
|
| - V(WrongInstanceType, "wrong instance type") \
|
| - V(WrongMap, "wrong map") \
|
| - V(UndefinedOrNullInForIn, "null or undefined in for-in") \
|
| +#define DEOPTIMIZE_REASON_LIST(V) \
|
| + V(AccessCheck, "Access check needed") \
|
| + V(NoReason, "no reason") \
|
| + V(ConstantGlobalVariableAssignment, "Constant global variable assignment") \
|
| + V(ConversionOverflow, "conversion overflow") \
|
| + V(DivisionByZero, "division by zero") \
|
| + V(ExpectedHeapNumber, "Expected heap number") \
|
| + V(ExpectedSmi, "Expected smi") \
|
| + V(ForcedDeoptToRuntime, "Forced deopt to runtime") \
|
| + V(Hole, "hole") \
|
| + V(InstanceMigrationFailed, "instance migration failed") \
|
| + V(InsufficientTypeFeedbackForCall, "Insufficient type feedback for call") \
|
| + V(InsufficientTypeFeedbackForCallWithArguments, \
|
| + "Insufficient type feedback for call with arguments") \
|
| + V(FastPathFailed, "Falling off the fast path") \
|
| + V(InsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \
|
| + "Insufficient type feedback for combined type of binary operation") \
|
| + V(InsufficientTypeFeedbackForGenericNamedAccess, \
|
| + "Insufficient type feedback for generic named access") \
|
| + V(InsufficientTypeFeedbackForGenericKeyedAccess, \
|
| + "Insufficient type feedback for generic keyed access") \
|
| + V(InsufficientTypeFeedbackForLHSOfBinaryOperation, \
|
| + "Insufficient type feedback for LHS of binary operation") \
|
| + V(InsufficientTypeFeedbackForRHSOfBinaryOperation, \
|
| + "Insufficient type feedback for RHS of binary operation") \
|
| + V(KeyIsNegative, "key is negative") \
|
| + V(LostPrecision, "lost precision") \
|
| + V(LostPrecisionOrNaN, "lost precision or NaN") \
|
| + V(MementoFound, "memento found") \
|
| + V(MinusZero, "minus zero") \
|
| + V(NaN, "NaN") \
|
| + V(NegativeKeyEncountered, "Negative key encountered") \
|
| + V(NegativeValue, "negative value") \
|
| + V(NoCache, "no cache") \
|
| + V(NotAHeapNumber, "not a heap number") \
|
| + V(NotAHeapNumberUndefined, "not a heap number/undefined") \
|
| + V(NotAJavaScriptObject, "not a JavaScript object") \
|
| + V(NotANumberOrOddball, "not a Number or Oddball") \
|
| + V(NotASmi, "not a Smi") \
|
| + V(OutOfBounds, "out of bounds") \
|
| + V(OutsideOfRange, "Outside of range") \
|
| + V(Overflow, "overflow") \
|
| + V(Proxy, "proxy") \
|
| + V(ReceiverWasAGlobalObject, "receiver was a global object") \
|
| + V(Smi, "Smi") \
|
| + V(TooManyArguments, "too many arguments") \
|
| + V(TracingElementsTransitions, "Tracing elements transitions") \
|
| + V(TypeMismatchBetweenFeedbackAndConstant, \
|
| + "Type mismatch between feedback and constant") \
|
| + V(UnexpectedCellContentsInConstantGlobalStore, \
|
| + "Unexpected cell contents in constant global store") \
|
| + V(UnexpectedCellContentsInGlobalStore, \
|
| + "Unexpected cell contents in global store") \
|
| + V(UnexpectedObject, "unexpected object") \
|
| + V(UnexpectedRHSOfBinaryOperation, "Unexpected RHS of binary operation") \
|
| + V(UnknownMapInPolymorphicAccess, "Unknown map in polymorphic access") \
|
| + V(UnknownMapInPolymorphicCall, "Unknown map in polymorphic call") \
|
| + V(UnknownMapInPolymorphicElementAccess, \
|
| + "Unknown map in polymorphic element access") \
|
| + V(UnknownMap, "Unknown map") \
|
| + V(ValueMismatch, "value mismatch") \
|
| + V(WrongInstanceType, "wrong instance type") \
|
| + V(WrongMap, "wrong map") \
|
| + V(UndefinedOrNullInForIn, "null or undefined in for-in") \
|
| V(UndefinedOrNullInToObject, "null or undefined in ToObject")
|
|
|
| enum class DeoptimizeReason : uint8_t {
|
|
|