| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 V(kPreconditionsWereNotMet, "Preconditions were not met") \ | 213 V(kPreconditionsWereNotMet, "Preconditions were not met") \ |
| 214 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ | 214 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ |
| 215 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 215 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 216 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 216 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 217 "Reference to a variable which requires dynamic lookup") \ | 217 "Reference to a variable which requires dynamic lookup") \ |
| 218 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 218 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 219 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 219 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 220 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 220 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 221 V(kRegisterWasClobbered, "Register was clobbered") \ | 221 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 222 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 222 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 223 V(kRestParameter, "Rest parameters") \ |
| 223 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 224 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 224 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ | 225 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ |
| 225 V(kScopedBlock, "ScopedBlock") \ | 226 V(kScopedBlock, "ScopedBlock") \ |
| 226 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 227 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 227 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 228 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 228 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 229 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
| 229 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 230 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 230 V(kTheCurrentStackPointerIsBelowCsp, \ | 231 V(kTheCurrentStackPointerIsBelowCsp, \ |
| 231 "The current stack pointer is below csp") \ | 232 "The current stack pointer is below csp") \ |
| 232 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ | 233 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage | 342 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage |
| 342 }; | 343 }; |
| 343 #undef ERROR_MESSAGES_CONSTANTS | 344 #undef ERROR_MESSAGES_CONSTANTS |
| 344 | 345 |
| 345 | 346 |
| 346 const char* GetBailoutReason(BailoutReason reason); | 347 const char* GetBailoutReason(BailoutReason reason); |
| 347 } | 348 } |
| 348 } // namespace v8::internal | 349 } // namespace v8::internal |
| 349 | 350 |
| 350 #endif // V8_BAILOUT_REASON_H_ | 351 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |