Commit 2123afff authored by neis's avatar neis Committed by Commit bot

Remove more unused bailout reasons.

There's a script for finding them (tools/check-unused-bailouts.sh), but make
sure you don't have an old .bailout-reason.h.swp or such around when using it...

R=mstarzinger@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/1986173004
Cr-Commit-Position: refs/heads/master@{#36287}
parent 7cef5593
...@@ -18,7 +18,6 @@ namespace internal { ...@@ -18,7 +18,6 @@ namespace internal {
V(kAPICallReturnedInvalidObject, "API call returned invalid object") \ V(kAPICallReturnedInvalidObject, "API call returned invalid object") \
V(kArgumentsObjectValueInATestContext, \ V(kArgumentsObjectValueInATestContext, \
"Arguments object value in a test context") \ "Arguments object value in a test context") \
V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \
V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \
V(kAssignmentToArguments, "Assignment to arguments") \ V(kAssignmentToArguments, "Assignment to arguments") \
V(kAssignmentToLetVariableBeforeInitialization, \ V(kAssignmentToLetVariableBeforeInitialization, \
...@@ -62,7 +61,6 @@ namespace internal { ...@@ -62,7 +61,6 @@ namespace internal {
V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ V(kEmitLoadRegisterUnsupportedDoubleImmediate, \
"EmitLoadRegister: Unsupported double immediate") \ "EmitLoadRegister: Unsupported double immediate") \
V(kEval, "eval") \ V(kEval, "eval") \
V(kExpectedAlignmentMarker, "Expected alignment marker") \
V(kExpectedAllocationSite, "Expected allocation site") \ V(kExpectedAllocationSite, "Expected allocation site") \
V(kExpectedFunctionObject, "Expected function object in register") \ V(kExpectedFunctionObject, "Expected function object in register") \
V(kExpectedHeapNumber, "Expected HeapNumber") \ V(kExpectedHeapNumber, "Expected HeapNumber") \
...@@ -79,7 +77,6 @@ namespace internal { ...@@ -79,7 +77,6 @@ namespace internal {
V(kForInStatementWithNonLocalEachVariable, \ V(kForInStatementWithNonLocalEachVariable, \
"ForInStatement with non-local each variable") \ "ForInStatement with non-local each variable") \
V(kForOfStatement, "ForOfStatement") \ V(kForOfStatement, "ForOfStatement") \
V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \
V(kFunctionBeingDebugged, "Function is being debugged") \ V(kFunctionBeingDebugged, "Function is being debugged") \
V(kFunctionCallsEval, "Function calls eval") \ V(kFunctionCallsEval, "Function calls eval") \
V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \
...@@ -101,7 +98,6 @@ namespace internal { ...@@ -101,7 +98,6 @@ namespace internal {
V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ V(kInteger32ToSmiFieldWritingToNonSmiLocation, \
"Integer32ToSmiField writing to non-smi location") \ "Integer32ToSmiField writing to non-smi location") \
V(kInvalidBytecode, "Invalid bytecode") \ V(kInvalidBytecode, "Invalid bytecode") \
V(kInvalidCaptureReferenced, "Invalid capture referenced") \
V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \
"Invalid ElementsKind for InternalArray or InternalPackedArray") \ "Invalid ElementsKind for InternalArray or InternalPackedArray") \
V(kInvalidFrameForFastNewRestArgumentsStub, \ V(kInvalidFrameForFastNewRestArgumentsStub, \
...@@ -125,7 +121,6 @@ namespace internal { ...@@ -125,7 +121,6 @@ namespace internal {
V(kJSObjectWithFastElementsMapHasSlowElements, \ V(kJSObjectWithFastElementsMapHasSlowElements, \
"JSObject with fast elements map has slow elements") \ "JSObject with fast elements map has slow elements") \
V(kLetBindingReInitialization, "Let binding re-initialization") \ V(kLetBindingReInitialization, "Let binding re-initialization") \
V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \
V(kLiveEdit, "LiveEdit") \ V(kLiveEdit, "LiveEdit") \
V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ V(kLookupVariableInCountOperation, "Lookup variable in count operation") \
V(kMapBecameDeprecated, "Map became deprecated") \ V(kMapBecameDeprecated, "Map became deprecated") \
...@@ -156,7 +151,6 @@ namespace internal { ...@@ -156,7 +151,6 @@ namespace internal {
V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \
V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \
V(kOperandIsASmi, "Operand is a smi") \ V(kOperandIsASmi, "Operand is a smi") \
V(kOperandIsNotADate, "Operand is not a date") \
V(kOperandIsNotABoundFunction, "Operand is not a bound function") \ V(kOperandIsNotABoundFunction, "Operand is not a bound function") \
V(kOperandIsNotAFunction, "Operand is not a function") \ V(kOperandIsNotAFunction, "Operand is not a function") \
V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \
...@@ -196,8 +190,6 @@ namespace internal { ...@@ -196,8 +190,6 @@ namespace internal {
V(kTailCall, "Tail call") \ V(kTailCall, "Tail call") \
V(kTheCurrentStackPointerIsBelowCsp, \ V(kTheCurrentStackPointerIsBelowCsp, \
"The current stack pointer is below csp") \ "The current stack pointer is below csp") \
V(kTheSourceAndDestinationAreTheSame, \
"The source and destination are the same") \
V(kTheStackWasCorruptedByMacroAssemblerCall, \ V(kTheStackWasCorruptedByMacroAssemblerCall, \
"The stack was corrupted by MacroAssembler::Call()") \ "The stack was corrupted by MacroAssembler::Call()") \
V(kTooManyParametersLocals, "Too many parameters/locals") \ V(kTooManyParametersLocals, "Too many parameters/locals") \
...@@ -239,8 +231,6 @@ namespace internal { ...@@ -239,8 +231,6 @@ namespace internal {
V(kUnexpectedLevelAfterReturnFromApiCall, \ V(kUnexpectedLevelAfterReturnFromApiCall, \
"Unexpected level after return from api call") \ "Unexpected level after return from api call") \
V(kUnexpectedNegativeValue, "Unexpected negative value") \ V(kUnexpectedNegativeValue, "Unexpected negative value") \
V(kUnexpectedNumberOfPreAllocatedPropertyFields, \
"Unexpected number of pre-allocated property fields") \
V(kUnexpectedFunctionIDForInvokeIntrinsic, \ V(kUnexpectedFunctionIDForInvokeIntrinsic, \
"Unexpected runtime function id for the InvokeIntrinsic bytecode") \ "Unexpected runtime function id for the InvokeIntrinsic bytecode") \
V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \
......
...@@ -24,7 +24,7 @@ bytecodes: [ ...@@ -24,7 +24,7 @@ bytecodes: [
B(LdaZero), B(LdaZero),
B(TestEqualStrict), R(1), B(TestEqualStrict), R(1),
B(JumpIfTrue), U8(57), B(JumpIfTrue), U8(57),
B(LdaSmi), U8(79), B(LdaSmi), U8(75),
B(Star), R(2), B(Star), R(2),
B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
...@@ -133,7 +133,7 @@ bytecodes: [ ...@@ -133,7 +133,7 @@ bytecodes: [
B(LdaSmi), U8(1), B(LdaSmi), U8(1),
B(TestEqualStrict), R(1), B(TestEqualStrict), R(1),
B(JumpIfTrueConstant), U8(0), B(JumpIfTrueConstant), U8(0),
B(LdaSmi), U8(79), B(LdaSmi), U8(75),
B(Star), R(2), B(Star), R(2),
B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
...@@ -283,7 +283,7 @@ bytecodes: [ ...@@ -283,7 +283,7 @@ bytecodes: [
B(LdaSmi), U8(1), B(LdaSmi), U8(1),
B(TestEqualStrict), R(3), B(TestEqualStrict), R(3),
B(JumpIfTrueConstant), U8(3), B(JumpIfTrueConstant), U8(3),
B(LdaSmi), U8(79), B(LdaSmi), U8(75),
B(Star), R(4), B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
...@@ -355,7 +355,7 @@ bytecodes: [ ...@@ -355,7 +355,7 @@ bytecodes: [
B(LdaSmi), U8(1), B(LdaSmi), U8(1),
B(TestEqualStrict), R(3), B(TestEqualStrict), R(3),
B(JumpIfTrueConstant), U8(9), B(JumpIfTrueConstant), U8(9),
B(LdaSmi), U8(79), B(LdaSmi), U8(75),
B(Star), R(11), B(Star), R(11),
B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1),
/* 27 S> */ B(LdaContextSlot), R(1), U8(7), /* 27 S> */ B(LdaContextSlot), R(1), U8(7),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment