diff options
Diffstat (limited to 'deps/v8/src/bailout-reason.h')
-rw-r--r-- | deps/v8/src/bailout-reason.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/deps/v8/src/bailout-reason.h b/deps/v8/src/bailout-reason.h index 92929cf38c..0966334ffa 100644 --- a/deps/v8/src/bailout-reason.h +++ b/deps/v8/src/bailout-reason.h @@ -14,11 +14,11 @@ namespace internal { \ V(k32BitValueInRegisterIsNotZeroExtended, \ "32 bit value in register is not zero-extended") \ + V(kAllocatingNonEmptyPackedArray, "Allocating non-empty packed array") \ V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \ V(kAPICallReturnedInvalidObject, "API call returned invalid object") \ V(kArgumentsObjectValueInATestContext, \ "Arguments object value in a test context") \ - V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ V(kAssignmentToArguments, "Assignment to arguments") \ V(kAssignmentToLetVariableBeforeInitialization, \ @@ -62,10 +62,11 @@ namespace internal { V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ "EmitLoadRegister: Unsupported double immediate") \ V(kEval, "eval") \ - V(kExpectedAlignmentMarker, "Expected alignment marker") \ V(kExpectedAllocationSite, "Expected allocation site") \ + V(kExpectedBooleanValue, "Expected boolean value") \ V(kExpectedFunctionObject, "Expected function object in register") \ V(kExpectedHeapNumber, "Expected HeapNumber") \ + V(kExpectedJSReceiver, "Expected object to have receiver type") \ V(kExpectedNativeContext, "Expected native context") \ V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ V(kExpectedNonNullContext, "Expected non-null context") \ @@ -73,26 +74,22 @@ namespace internal { V(kExpectedNewSpaceObject, "Expected new space object") \ V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ - V(kExportDeclaration, "Export declaration") \ V(kExternalStringExpectedButNotFound, \ "External string expected, but not found") \ V(kForInStatementWithNonLocalEachVariable, \ "ForInStatement with non-local each variable") \ V(kForOfStatement, "ForOfStatement") \ - V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ V(kFunctionBeingDebugged, "Function is being debugged") \ V(kFunctionCallsEval, "Function calls eval") \ V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ "The function_data field should be a BytecodeArray on interpreter entry") \ V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ - V(kGeneratorFailedToResume, "Generator failed to resume") \ - V(kGeneratorResumeMethod, "Generator resume method is being called") \ V(kGenerator, "Generator") \ V(kGlobalFunctionsMustHaveInitialMap, \ "Global functions must have initial map") \ + V(kGraphBuildingFailed, "Optimized graph construction failed") \ V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ V(kHydrogenFilter, "Optimization disabled by filter") \ - V(kImportDeclaration, "Import declaration") \ V(kIndexIsNegative, "Index is negative") \ V(kIndexIsTooLarge, "Index is too large") \ V(kInliningBailedOut, "Inlining bailed out") \ @@ -102,15 +99,22 @@ namespace internal { V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ "Integer32ToSmiField writing to non-smi location") \ V(kInvalidBytecode, "Invalid bytecode") \ - V(kInvalidCaptureReferenced, "Invalid capture referenced") \ V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ "Invalid ElementsKind for InternalArray or InternalPackedArray") \ + V(kInvalidFrameForFastNewRestArgumentsStub, \ + "Invalid frame for FastNewRestArgumentsStub") \ + V(kInvalidFrameForFastNewSloppyArgumentsStub, \ + "Invalid frame for FastNewSloppyArgumentsStub") \ + V(kInvalidFrameForFastNewStrictArgumentsStub, \ + "Invalid frame for FastNewStrictArgumentsStub") \ V(kInvalidFullCodegenState, "invalid full-codegen state") \ V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ + V(kInvalidJumpTableIndex, "Invalid jump table index") \ V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ V(kInvalidMinLength, "Invalid min_length") \ + V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ "JSGlobalObject::native_context should be a native context") \ V(kJSGlobalProxyContextShouldNotBeNull, \ @@ -118,7 +122,6 @@ namespace internal { V(kJSObjectWithFastElementsMapHasSlowElements, \ "JSObject with fast elements map has slow elements") \ V(kLetBindingReInitialization, "Let binding re-initialization") \ - V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ V(kLiveEdit, "LiveEdit") \ V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ V(kMapBecameDeprecated, "Map became deprecated") \ @@ -143,13 +146,15 @@ namespace internal { V(kOperandIsASmiAndNotABoundFunction, \ "Operand is a smi and not a bound function") \ V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ + V(kOperandIsASmiAndNotAGeneratorObject, \ + "Operand is a smi and not a generator object") \ V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ V(kOperandIsASmi, "Operand is a smi") \ - V(kOperandIsNotADate, "Operand is not a date") \ V(kOperandIsNotABoundFunction, "Operand is not a bound function") \ V(kOperandIsNotAFunction, "Operand is not a function") \ + V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ V(kOperandIsNotAName, "Operand is not a name") \ V(kOperandIsNotANumber, "Operand is not a number") \ V(kOperandIsNotAReceiver, "Operand is not a receiver") \ @@ -159,7 +164,8 @@ namespace internal { V(kOperandNotANumber, "Operand not a number") \ V(kObjectTagged, "The object is tagged") \ V(kObjectNotTagged, "The object is not tagged") \ - V(kOptimizationDisabled, "Optimization is disabled") \ + V(kOptimizationDisabled, "Optimization disabled") \ + V(kOptimizationDisabledForTest, "Optimization disabled for test") \ V(kOptimizedTooManyTimes, "Optimized too many times") \ V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ "Out of virtual registers while trying to allocate temp register") \ @@ -185,8 +191,6 @@ namespace internal { V(kTailCall, "Tail call") \ V(kTheCurrentStackPointerIsBelowCsp, \ "The current stack pointer is below csp") \ - V(kTheSourceAndDestinationAreTheSame, \ - "The source and destination are the same") \ V(kTheStackWasCorruptedByMacroAssemblerCall, \ "The stack was corrupted by MacroAssembler::Call()") \ V(kTooManyParametersLocals, "Too many parameters/locals") \ @@ -228,8 +232,6 @@ namespace internal { V(kUnexpectedLevelAfterReturnFromApiCall, \ "Unexpected level after return from api call") \ V(kUnexpectedNegativeValue, "Unexpected negative value") \ - V(kUnexpectedNumberOfPreAllocatedPropertyFields, \ - "Unexpected number of pre-allocated property fields") \ V(kUnexpectedFunctionIDForInvokeIntrinsic, \ "Unexpected runtime function id for the InvokeIntrinsic bytecode") \ V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ @@ -252,8 +254,6 @@ namespace internal { V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ V(kUnsupportedPhiUseOfConstVariable, \ "Unsupported phi use of const or let variable") \ - V(kUnexpectedReturnFromBytecodeHandler, \ - "Unexpectedly returned from a bytecode handler") \ V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ @@ -268,7 +268,8 @@ namespace internal { "Wrong number of arguments for intrinsic") \ V(kShouldNotDirectlyEnterOsrFunction, \ "Should not directly enter OSR-compiled function") \ - V(kYield, "Yield") + V(kConversionFromImpossibleValue, \ + "Reached conversion from value with empty type (i.e., impossible type)") #define ERROR_MESSAGES_CONSTANTS(C, T) C, enum BailoutReason { |