Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: src/bailout-reason.h

Issue 1237623003: Remove unused bailout reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-frame-constants-2
Patch Set: Respect cctest as well. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/check-unused-bailouts.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BAILOUT_REASON_H_ 5 #ifndef V8_BAILOUT_REASON_H_
6 #define V8_BAILOUT_REASON_H_ 6 #define V8_BAILOUT_REASON_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 18 matching lines...) Expand all
29 "Assignment to parameter, function uses arguments object") \ 29 "Assignment to parameter, function uses arguments object") \
30 V(kAssignmentToParameterInArgumentsObject, \ 30 V(kAssignmentToParameterInArgumentsObject, \
31 "Assignment to parameter in arguments object") \ 31 "Assignment to parameter in arguments object") \
32 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \ 32 V(kAttemptToUseUndefinedCache, "Attempt to use undefined cache") \
33 V(kBadValueContextForArgumentsObjectValue, \ 33 V(kBadValueContextForArgumentsObjectValue, \
34 "Bad value context for arguments object value") \ 34 "Bad value context for arguments object value") \
35 V(kBadValueContextForArgumentsValue, \ 35 V(kBadValueContextForArgumentsValue, \
36 "Bad value context for arguments value") \ 36 "Bad value context for arguments value") \
37 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 37 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
38 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ 38 V(kBailoutWasNotPrepared, "Bailout was not prepared") \
39 V(kBinaryStubGenerateFloatingPointCode, \
40 "BinaryStub_GenerateFloatingPointCode") \
41 V(kBothRegistersWereSmisInSelectNonSmi, \ 39 V(kBothRegistersWereSmisInSelectNonSmi, \
42 "Both registers were smis in SelectNonSmi") \ 40 "Both registers were smis in SelectNonSmi") \
43 V(kBuiltinFunctionCannotBeOptimized, "Builtin function cannot be optimized") \
44 V(kCallToAJavaScriptRuntimeFunction, \ 41 V(kCallToAJavaScriptRuntimeFunction, \
45 "Call to a JavaScript runtime function") \ 42 "Call to a JavaScript runtime function") \
46 V(kCannotTranslatePositionInChangedArea, \
47 "Cannot translate position in changed area") \
48 V(kClassLiteral, "Class literal") \ 43 V(kClassLiteral, "Class literal") \
49 V(kCodeGenerationFailed, "Code generation failed") \ 44 V(kCodeGenerationFailed, "Code generation failed") \
50 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ 45 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \
51 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ 46 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \
52 V(kComputedPropertyName, "Computed property name") \ 47 V(kComputedPropertyName, "Computed property name") \
53 V(kContextAllocatedArguments, "Context-allocated arguments") \ 48 V(kContextAllocatedArguments, "Context-allocated arguments") \
54 V(kCopyBuffersOverlap, "Copy buffers overlap") \ 49 V(kCopyBuffersOverlap, "Copy buffers overlap") \
55 V(kCouldNotGenerateZero, "Could not generate +0.0") \ 50 V(kCouldNotGenerateZero, "Could not generate +0.0") \
56 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ 51 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \
57 V(kDebuggerHasBreakPoints, "Debugger has break points") \ 52 V(kDebuggerHasBreakPoints, "Debugger has break points") \
58 V(kDebuggerStatement, "DebuggerStatement") \ 53 V(kDebuggerStatement, "DebuggerStatement") \
59 V(kDeclarationInCatchContext, "Declaration in catch context") \ 54 V(kDeclarationInCatchContext, "Declaration in catch context") \
60 V(kDeclarationInWithContext, "Declaration in with context") \ 55 V(kDeclarationInWithContext, "Declaration in with context") \
61 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ 56 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \
62 V(kDeleteWithGlobalVariable, "Delete with global variable") \ 57 V(kDeleteWithGlobalVariable, "Delete with global variable") \
63 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ 58 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \
64 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ 59 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \
65 V(kDontDeleteCellsCannotContainTheHole, \ 60 V(kDontDeleteCellsCannotContainTheHole, \
66 "DontDelete cells can't contain the hole") \ 61 "DontDelete cells can't contain the hole") \
67 V(kDoPushArgumentNotImplementedForDoubleType, \ 62 V(kDoPushArgumentNotImplementedForDoubleType, \
68 "DoPushArgument not implemented for double type") \ 63 "DoPushArgument not implemented for double type") \
69 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ 64 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \
70 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ 65 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \
71 "EmitLoadRegister: Unsupported double immediate") \ 66 "EmitLoadRegister: Unsupported double immediate") \
72 V(kEval, "eval") \ 67 V(kEval, "eval") \
73 V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \
74 V(kExpectedAlignmentMarker, "Expected alignment marker") \ 68 V(kExpectedAlignmentMarker, "Expected alignment marker") \
75 V(kExpectedAllocationSite, "Expected allocation site") \ 69 V(kExpectedAllocationSite, "Expected allocation site") \
76 V(kExpectedFunctionObject, "Expected function object in register") \ 70 V(kExpectedFunctionObject, "Expected function object in register") \
77 V(kExpectedHeapNumber, "Expected HeapNumber") \ 71 V(kExpectedHeapNumber, "Expected HeapNumber") \
78 V(kExpectedNativeContext, "Expected native context") \ 72 V(kExpectedNativeContext, "Expected native context") \
79 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ 73 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \
80 V(kExpectedNonNullContext, "Expected non-null context") \ 74 V(kExpectedNonNullContext, "Expected non-null context") \
81 V(kExpectedPositiveZero, "Expected +0.0") \ 75 V(kExpectedPositiveZero, "Expected +0.0") \
82 V(kExpectedAllocationSiteInCell, "Expected AllocationSite in property cell") \
83 V(kExpectedFixedArrayInFeedbackVector, \
84 "Expected fixed array in feedback vector") \
85 V(kExpectedFixedArrayInRegisterA2, "Expected fixed array in register a2") \
86 V(kExpectedFixedArrayInRegisterEbx, "Expected fixed array in register ebx") \
87 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \
88 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \
89 V(kExpectedNewSpaceObject, "Expected new space object") \ 76 V(kExpectedNewSpaceObject, "Expected new space object") \
90 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \
91 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ 77 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \
92 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ 78 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \
93 V(kExportDeclaration, "Export declaration") \ 79 V(kExportDeclaration, "Export declaration") \
94 V(kExternalStringExpectedButNotFound, \ 80 V(kExternalStringExpectedButNotFound, \
95 "External string expected, but not found") \ 81 "External string expected, but not found") \
96 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \
97 V(kForInStatementOptimizationIsDisabled, \ 82 V(kForInStatementOptimizationIsDisabled, \
98 "ForInStatement optimization is disabled") \ 83 "ForInStatement optimization is disabled") \
99 V(kForInStatementWithNonLocalEachVariable, \ 84 V(kForInStatementWithNonLocalEachVariable, \
100 "ForInStatement with non-local each variable") \ 85 "ForInStatement with non-local each variable") \
101 V(kForOfStatement, "ForOfStatement") \ 86 V(kForOfStatement, "ForOfStatement") \
102 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ 87 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \
103 V(kFunctionCallsEval, "Function calls eval") \ 88 V(kFunctionCallsEval, "Function calls eval") \
104 V(kFunctionIsAGenerator, "Function is a generator") \
105 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ 89 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \
106 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ 90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \
107 V(kGeneratorFailedToResume, "Generator failed to resume") \ 91 V(kGeneratorFailedToResume, "Generator failed to resume") \
108 V(kGenerator, "Generator") \ 92 V(kGenerator, "Generator") \
109 V(kGlobalFunctionsMustHaveInitialMap, \ 93 V(kGlobalFunctionsMustHaveInitialMap, \
110 "Global functions must have initial map") \ 94 "Global functions must have initial map") \
111 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ 95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \
112 V(kHydrogenFilter, "Optimization disabled by filter") \ 96 V(kHydrogenFilter, "Optimization disabled by filter") \
113 V(kImportDeclaration, "Import declaration") \ 97 V(kImportDeclaration, "Import declaration") \
114 V(kImproperObjectOnPrototypeChainForStore, \
115 "Improper object on prototype chain for store") \
116 V(kIndexIsNegative, "Index is negative") \ 98 V(kIndexIsNegative, "Index is negative") \
117 V(kIndexIsTooLarge, "Index is too large") \ 99 V(kIndexIsTooLarge, "Index is too large") \
118 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ 100 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \
119 "Inlined runtime function: FastOneByteArrayJoin") \ 101 "Inlined runtime function: FastOneByteArrayJoin") \
120 V(kInlinedRuntimeFunctionGetFromCache, \ 102 V(kInlinedRuntimeFunctionGetFromCache, \
121 "Inlined runtime function: GetFromCache") \ 103 "Inlined runtime function: GetFromCache") \
122 V(kInliningBailedOut, "Inlining bailed out") \ 104 V(kInliningBailedOut, "Inlining bailed out") \
123 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ 105 V(kInputGPRIsExpectedToHaveUpper32Cleared, \
124 "Input GPR is expected to have upper32 cleared") \ 106 "Input GPR is expected to have upper32 cleared") \
125 V(kInputStringTooLong, "Input string too long") \ 107 V(kInputStringTooLong, "Input string too long") \
(...skipping 16 matching lines...) Expand all
142 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ 124 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \
143 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ 125 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \
144 V(kInvalidMinLength, "Invalid min_length") \ 126 V(kInvalidMinLength, "Invalid min_length") \
145 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ 127 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \
146 "JSGlobalObject::native_context should be a native context") \ 128 "JSGlobalObject::native_context should be a native context") \
147 V(kJSGlobalProxyContextShouldNotBeNull, \ 129 V(kJSGlobalProxyContextShouldNotBeNull, \
148 "JSGlobalProxy::context() should not be null") \ 130 "JSGlobalProxy::context() should not be null") \
149 V(kJSObjectWithFastElementsMapHasSlowElements, \ 131 V(kJSObjectWithFastElementsMapHasSlowElements, \
150 "JSObject with fast elements map has slow elements") \ 132 "JSObject with fast elements map has slow elements") \
151 V(kLetBindingReInitialization, "Let binding re-initialization") \ 133 V(kLetBindingReInitialization, "Let binding re-initialization") \
152 V(kLhsHasBeenClobbered, "lhs has been clobbered") \
153 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ 134 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \
154 V(kLiveEdit, "LiveEdit") \ 135 V(kLiveEdit, "LiveEdit") \
155 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ 136 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \
156 V(kMapBecameDeprecated, "Map became deprecated") \ 137 V(kMapBecameDeprecated, "Map became deprecated") \
157 V(kMapBecameUnstable, "Map became unstable") \ 138 V(kMapBecameUnstable, "Map became unstable") \
158 V(kMapIsNoLongerInEax, "Map is no longer in eax") \
159 V(kNativeFunctionLiteral, "Native function literal") \ 139 V(kNativeFunctionLiteral, "Native function literal") \
160 V(kNeedSmiLiteral, "Need a Smi literal here") \ 140 V(kNeedSmiLiteral, "Need a Smi literal here") \
161 V(kNoCasesLeft, "No cases left") \ 141 V(kNoCasesLeft, "No cases left") \
162 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ 142 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \
163 "No empty arrays here in EmitFastOneByteArrayJoin") \ 143 "No empty arrays here in EmitFastOneByteArrayJoin") \
164 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ 144 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \
165 V(kNonSmiIndex, "Non-smi index") \ 145 V(kNonSmiIndex, "Non-smi index") \
166 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ 146 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \
167 V(kNonSmiValue, "Non-smi value") \ 147 V(kNonSmiValue, "Non-smi value") \
168 V(kNonObject, "Non-object value") \ 148 V(kNonObject, "Non-object value") \
169 V(kNotEnoughVirtualRegistersForValues, \ 149 V(kNotEnoughVirtualRegistersForValues, \
170 "Not enough virtual registers for values") \ 150 "Not enough virtual registers for values") \
171 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ 151 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \
172 V(kNotEnoughVirtualRegistersRegalloc, \ 152 V(kNotEnoughVirtualRegistersRegalloc, \
173 "Not enough virtual registers (regalloc)") \ 153 "Not enough virtual registers (regalloc)") \
174 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ 154 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \
175 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ 155 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \
176 V(kOddballInStringTableIsNotUndefinedOrTheHole, \
177 "Oddball in string table is not undefined or the hole") \
178 V(kOffsetOutOfRange, "Offset out of range") \ 156 V(kOffsetOutOfRange, "Offset out of range") \
179 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ 157 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \
180 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ 158 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \
181 V(kOperandIsASmi, "Operand is a smi") \ 159 V(kOperandIsASmi, "Operand is a smi") \
182 V(kOperandIsNotADate, "Operand is not a date") \ 160 V(kOperandIsNotADate, "Operand is not a date") \
183 V(kOperandIsNotAName, "Operand is not a name") \ 161 V(kOperandIsNotAName, "Operand is not a name") \
184 V(kOperandIsNotANumber, "Operand is not a number") \ 162 V(kOperandIsNotANumber, "Operand is not a number") \
185 V(kOperandIsNotASmi, "Operand is not a smi") \ 163 V(kOperandIsNotASmi, "Operand is not a smi") \
186 V(kOperandIsNotAString, "Operand is not a string") \ 164 V(kOperandIsNotAString, "Operand is not a string") \
187 V(kOperandIsNotSmi, "Operand is not smi") \ 165 V(kOperandIsNotSmi, "Operand is not smi") \
188 V(kOperandNotANumber, "Operand not a number") \ 166 V(kOperandNotANumber, "Operand not a number") \
189 V(kObjectTagged, "The object is tagged") \ 167 V(kObjectTagged, "The object is tagged") \
190 V(kObjectNotTagged, "The object is not tagged") \ 168 V(kObjectNotTagged, "The object is not tagged") \
191 V(kOptimizationDisabled, "Optimization is disabled") \ 169 V(kOptimizationDisabled, "Optimization is disabled") \
192 V(kOptimizedTooManyTimes, "Optimized too many times") \ 170 V(kOptimizedTooManyTimes, "Optimized too many times") \
193 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ 171 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \
194 "Out of virtual registers while trying to allocate temp register") \ 172 "Out of virtual registers while trying to allocate temp register") \
195 V(kParseScopeError, "Parse/scope error") \ 173 V(kParseScopeError, "Parse/scope error") \
196 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ 174 V(kPossibleDirectCallToEval, "Possible direct call to eval") \
197 V(kPreconditionsWereNotMet, "Preconditions were not met") \
198 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ 175 V(kReceivedInvalidReturnAddress, "Received invalid return address") \
199 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ 176 V(kReferenceToAVariableWhichRequiresDynamicLookup, \
200 "Reference to a variable which requires dynamic lookup") \ 177 "Reference to a variable which requires dynamic lookup") \
201 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ 178 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \
202 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ 179 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \
203 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ 180 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \
204 V(kRegisterWasClobbered, "Register was clobbered") \ 181 V(kRegisterWasClobbered, "Register was clobbered") \
205 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ 182 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \
206 V(kRestParameter, "Rest parameters") \ 183 V(kRestParameter, "Rest parameters") \
207 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ 184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \
208 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \
209 V(kScopedBlock, "ScopedBlock") \
210 V(kScriptContext, "Allocation of script context") \ 185 V(kScriptContext, "Allocation of script context") \
211 V(kSmiAdditionOverflow, "Smi addition overflow") \ 186 V(kSmiAdditionOverflow, "Smi addition overflow") \
212 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ 187 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \
213 V(kSpread, "Spread in array literal") \ 188 V(kSpread, "Spread in array literal") \
214 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ 189 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \
215 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ 190 V(kStackFrameTypesMustMatch, "Stack frame types must match") \
216 V(kSuperReference, "Super reference") \ 191 V(kSuperReference, "Super reference") \
217 V(kTheCurrentStackPointerIsBelowCsp, \ 192 V(kTheCurrentStackPointerIsBelowCsp, \
218 "The current stack pointer is below csp") \ 193 "The current stack pointer is below csp") \
219 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ 194 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \
220 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ 195 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \
221 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ 196 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \
222 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ 197 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \
223 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ 198 V(kTheInstructionShouldBeALi, "The instruction should be a li") \
224 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \ 199 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \
225 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ 200 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \
226 "The instruction to patch should be a load from the constant pool") \ 201 "The instruction to patch should be a load from the constant pool") \
227 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ 202 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \
228 "The instruction to patch should be a ldr literal") \ 203 "The instruction to patch should be a ldr literal") \
229 V(kTheInstructionToPatchShouldBeALis, \ 204 V(kTheInstructionToPatchShouldBeALis, \
230 "The instruction to patch should be a lis") \ 205 "The instruction to patch should be a lis") \
231 V(kTheInstructionToPatchShouldBeALui, \ 206 V(kTheInstructionToPatchShouldBeALui, \
232 "The instruction to patch should be a lui") \ 207 "The instruction to patch should be a lui") \
233 V(kTheInstructionToPatchShouldBeAnOri, \ 208 V(kTheInstructionToPatchShouldBeAnOri, \
234 "The instruction to patch should be an ori") \ 209 "The instruction to patch should be an ori") \
235 V(kTheSourceAndDestinationAreTheSame, \ 210 V(kTheSourceAndDestinationAreTheSame, \
236 "The source and destination are the same") \ 211 "The source and destination are the same") \
237 V(kTheStackPointerIsNotAligned, "The stack pointer is not aligned.") \
238 V(kTheStackWasCorruptedByMacroAssemblerCall, \ 212 V(kTheStackWasCorruptedByMacroAssemblerCall, \
239 "The stack was corrupted by MacroAssembler::Call()") \ 213 "The stack was corrupted by MacroAssembler::Call()") \
240 V(kTooManyParametersLocals, "Too many parameters/locals") \ 214 V(kTooManyParametersLocals, "Too many parameters/locals") \
241 V(kTooManyParameters, "Too many parameters") \ 215 V(kTooManyParameters, "Too many parameters") \
242 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \ 216 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \
243 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \ 217 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \
244 V(kToOperandIsDoubleRegisterUnimplemented, \ 218 V(kToOperandIsDoubleRegisterUnimplemented, \
245 "ToOperand IsDoubleRegister unimplemented") \ 219 "ToOperand IsDoubleRegister unimplemented") \
246 V(kToOperandUnsupportedDoubleImmediate, \ 220 V(kToOperandUnsupportedDoubleImmediate, \
247 "ToOperand Unsupported double immediate") \ 221 "ToOperand Unsupported double immediate") \
248 V(kTryCatchStatement, "TryCatchStatement") \ 222 V(kTryCatchStatement, "TryCatchStatement") \
249 V(kTryFinallyStatement, "TryFinallyStatement") \ 223 V(kTryFinallyStatement, "TryFinallyStatement") \
250 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \ 224 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \
251 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ 225 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \
252 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ 226 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \
253 V(kUndefinedValueNotLoaded, "Undefined value not loaded") \
254 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ 227 V(kUnexpectedAllocationTop, "Unexpected allocation top") \
255 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ 228 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \
256 V(kUnexpectedElementsKindInArrayConstructor, \ 229 V(kUnexpectedElementsKindInArrayConstructor, \
257 "Unexpected ElementsKind in array constructor") \ 230 "Unexpected ElementsKind in array constructor") \
258 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ 231 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \
259 "Unexpected fallthrough from CharCodeAt slow case") \ 232 "Unexpected fallthrough from CharCodeAt slow case") \
260 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \ 233 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \
261 "Unexpected fallthrough from CharFromCode slow case") \ 234 "Unexpected fallthrough from CharFromCode slow case") \
262 V(kUnexpectedFallThroughFromStringComparison, \ 235 V(kUnexpectedFallThroughFromStringComparison, \
263 "Unexpected fall-through from string comparison") \ 236 "Unexpected fall-through from string comparison") \
264 V(kUnexpectedFallThroughInBinaryStubGenerateFloatingPointCode, \
265 "Unexpected fall-through in BinaryStub_GenerateFloatingPointCode") \
266 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \ 237 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \
267 "Unexpected fallthrough to CharCodeAt slow case") \ 238 "Unexpected fallthrough to CharCodeAt slow case") \
268 V(kUnexpectedFallthroughToCharFromCodeSlowCase, \ 239 V(kUnexpectedFallthroughToCharFromCodeSlowCase, \
269 "Unexpected fallthrough to CharFromCode slow case") \ 240 "Unexpected fallthrough to CharFromCode slow case") \
270 V(kUnexpectedFPUStackDepthAfterInstruction, \ 241 V(kUnexpectedFPUStackDepthAfterInstruction, \
271 "Unexpected FPU stack depth after instruction") \ 242 "Unexpected FPU stack depth after instruction") \
272 V(kUnexpectedInitialMapForArrayFunction1, \ 243 V(kUnexpectedInitialMapForArrayFunction1, \
273 "Unexpected initial map for Array function (1)") \ 244 "Unexpected initial map for Array function (1)") \
274 V(kUnexpectedInitialMapForArrayFunction2, \ 245 V(kUnexpectedInitialMapForArrayFunction2, \
275 "Unexpected initial map for Array function (2)") \ 246 "Unexpected initial map for Array function (2)") \
(...skipping 10 matching lines...) Expand all
286 V(kUnexpectedSmi, "Unexpected smi value") \ 257 V(kUnexpectedSmi, "Unexpected smi value") \
287 V(kUnexpectedStringFunction, "Unexpected String function") \ 258 V(kUnexpectedStringFunction, "Unexpected String function") \
288 V(kUnexpectedStringType, "Unexpected string type") \ 259 V(kUnexpectedStringType, "Unexpected string type") \
289 V(kUnexpectedStringWrapperInstanceSize, \ 260 V(kUnexpectedStringWrapperInstanceSize, \
290 "Unexpected string wrapper instance size") \ 261 "Unexpected string wrapper instance size") \
291 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ 262 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \
292 "Unexpected type for RegExp data, FixedArray expected") \ 263 "Unexpected type for RegExp data, FixedArray expected") \
293 V(kUnexpectedValue, "Unexpected value") \ 264 V(kUnexpectedValue, "Unexpected value") \
294 V(kUnexpectedUnusedPropertiesOfStringWrapper, \ 265 V(kUnexpectedUnusedPropertiesOfStringWrapper, \
295 "Unexpected unused properties of string wrapper") \ 266 "Unexpected unused properties of string wrapper") \
296 V(kUnimplemented, "unimplemented") \
297 V(kUnsupportedConstCompoundAssignment, \ 267 V(kUnsupportedConstCompoundAssignment, \
298 "Unsupported const compound assignment") \ 268 "Unsupported const compound assignment") \
299 V(kUnsupportedCountOperationWithConst, \ 269 V(kUnsupportedCountOperationWithConst, \
300 "Unsupported count operation with const") \ 270 "Unsupported count operation with const") \
301 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 271 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
302 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 272 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
303 V(kUnsupportedLookupSlotInDeclaration, \ 273 V(kUnsupportedLookupSlotInDeclaration, \
304 "Unsupported lookup slot in declaration") \ 274 "Unsupported lookup slot in declaration") \
305 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 275 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
306 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 276 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
(...skipping 18 matching lines...) Expand all
325 }; 295 };
326 #undef ERROR_MESSAGES_CONSTANTS 296 #undef ERROR_MESSAGES_CONSTANTS
327 297
328 298
329 const char* GetBailoutReason(BailoutReason reason); 299 const char* GetBailoutReason(BailoutReason reason);
330 300
331 } // namespace internal 301 } // namespace internal
332 } // namespace v8 302 } // namespace v8
333 303
334 #endif // V8_BAILOUT_REASON_H_ 304 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | tools/check-unused-bailouts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698