OLD | NEW |
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 V(kOperandNotANumber, "Operand not a number") \ | 188 V(kOperandNotANumber, "Operand not a number") \ |
189 V(kObjectTagged, "The object is tagged") \ | 189 V(kObjectTagged, "The object is tagged") \ |
190 V(kObjectNotTagged, "The object is not tagged") \ | 190 V(kObjectNotTagged, "The object is not tagged") \ |
191 V(kOptimizationDisabled, "Optimization is disabled") \ | 191 V(kOptimizationDisabled, "Optimization is disabled") \ |
192 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 192 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
193 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 193 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
194 "Out of virtual registers while trying to allocate temp register") \ | 194 "Out of virtual registers while trying to allocate temp register") \ |
195 V(kParseScopeError, "Parse/scope error") \ | 195 V(kParseScopeError, "Parse/scope error") \ |
196 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 196 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
197 V(kPreconditionsWereNotMet, "Preconditions were not met") \ | 197 V(kPreconditionsWereNotMet, "Preconditions were not met") \ |
198 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ | |
199 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 198 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
200 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 199 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
201 "Reference to a variable which requires dynamic lookup") \ | 200 "Reference to a variable which requires dynamic lookup") \ |
202 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 201 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
203 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 202 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
204 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 203 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
205 V(kRegisterWasClobbered, "Register was clobbered") \ | 204 V(kRegisterWasClobbered, "Register was clobbered") \ |
206 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 205 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
207 V(kRestParameter, "Rest parameters") \ | 206 V(kRestParameter, "Rest parameters") \ |
208 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 207 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 V(kToOperandIsDoubleRegisterUnimplemented, \ | 244 V(kToOperandIsDoubleRegisterUnimplemented, \ |
246 "ToOperand IsDoubleRegister unimplemented") \ | 245 "ToOperand IsDoubleRegister unimplemented") \ |
247 V(kToOperandUnsupportedDoubleImmediate, \ | 246 V(kToOperandUnsupportedDoubleImmediate, \ |
248 "ToOperand Unsupported double immediate") \ | 247 "ToOperand Unsupported double immediate") \ |
249 V(kTryCatchStatement, "TryCatchStatement") \ | 248 V(kTryCatchStatement, "TryCatchStatement") \ |
250 V(kTryFinallyStatement, "TryFinallyStatement") \ | 249 V(kTryFinallyStatement, "TryFinallyStatement") \ |
251 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \ | 250 V(kUnableToEncodeValueAsSmi, "Unable to encode value as smi") \ |
252 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ | 251 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ |
253 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ | 252 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ |
254 V(kUndefinedValueNotLoaded, "Undefined value not loaded") \ | 253 V(kUndefinedValueNotLoaded, "Undefined value not loaded") \ |
255 V(kUndoAllocationOfNonAllocatedMemory, \ | |
256 "Undo allocation of non allocated memory") \ | |
257 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ | 254 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ |
258 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ | 255 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ |
259 V(kUnexpectedElementsKindInArrayConstructor, \ | 256 V(kUnexpectedElementsKindInArrayConstructor, \ |
260 "Unexpected ElementsKind in array constructor") \ | 257 "Unexpected ElementsKind in array constructor") \ |
261 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ | 258 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ |
262 "Unexpected fallthrough from CharCodeAt slow case") \ | 259 "Unexpected fallthrough from CharCodeAt slow case") \ |
263 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \ | 260 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \ |
264 "Unexpected fallthrough from CharFromCode slow case") \ | 261 "Unexpected fallthrough from CharFromCode slow case") \ |
265 V(kUnexpectedFallThroughFromStringComparison, \ | 262 V(kUnexpectedFallThroughFromStringComparison, \ |
266 "Unexpected fall-through from string comparison") \ | 263 "Unexpected fall-through from string comparison") \ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 }; | 325 }; |
329 #undef ERROR_MESSAGES_CONSTANTS | 326 #undef ERROR_MESSAGES_CONSTANTS |
330 | 327 |
331 | 328 |
332 const char* GetBailoutReason(BailoutReason reason); | 329 const char* GetBailoutReason(BailoutReason reason); |
333 | 330 |
334 } // namespace internal | 331 } // namespace internal |
335 } // namespace v8 | 332 } // namespace v8 |
336 | 333 |
337 #endif // V8_BAILOUT_REASON_H_ | 334 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |