| 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 17 matching lines...) Expand all Loading... |
| 28 V(kAssignmentToParameterInArgumentsObject, \ | 28 V(kAssignmentToParameterInArgumentsObject, \ |
| 29 "Assignment to parameter in arguments object") \ | 29 "Assignment to parameter in arguments object") \ |
| 30 V(kBadValueContextForArgumentsObjectValue, \ | 30 V(kBadValueContextForArgumentsObjectValue, \ |
| 31 "Bad value context for arguments object value") \ | 31 "Bad value context for arguments object value") \ |
| 32 V(kBadValueContextForArgumentsValue, \ | 32 V(kBadValueContextForArgumentsValue, \ |
| 33 "Bad value context for arguments value") \ | 33 "Bad value context for arguments value") \ |
| 34 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ | 34 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ |
| 35 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ | 35 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ |
| 36 V(kBothRegistersWereSmisInSelectNonSmi, \ | 36 V(kBothRegistersWereSmisInSelectNonSmi, \ |
| 37 "Both registers were smis in SelectNonSmi") \ | 37 "Both registers were smis in SelectNonSmi") \ |
| 38 V(kClassConstructorFunction, "Class constructor function") \ |
| 38 V(kClassLiteral, "Class literal") \ | 39 V(kClassLiteral, "Class literal") \ |
| 39 V(kCodeGenerationFailed, "Code generation failed") \ | 40 V(kCodeGenerationFailed, "Code generation failed") \ |
| 40 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ | 41 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ |
| 41 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ | 42 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ |
| 42 V(kComputedPropertyName, "Computed property name") \ | 43 V(kComputedPropertyName, "Computed property name") \ |
| 43 V(kContextAllocatedArguments, "Context-allocated arguments") \ | 44 V(kContextAllocatedArguments, "Context-allocated arguments") \ |
| 44 V(kCopyBuffersOverlap, "Copy buffers overlap") \ | 45 V(kCopyBuffersOverlap, "Copy buffers overlap") \ |
| 45 V(kCouldNotGenerateZero, "Could not generate +0.0") \ | 46 V(kCouldNotGenerateZero, "Could not generate +0.0") \ |
| 46 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ | 47 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ |
| 47 V(kDebuggerStatement, "DebuggerStatement") \ | 48 V(kDebuggerStatement, "DebuggerStatement") \ |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 }; | 273 }; |
| 273 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
| 274 | 275 |
| 275 | 276 |
| 276 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
| 277 | 278 |
| 278 } // namespace internal | 279 } // namespace internal |
| 279 } // namespace v8 | 280 } // namespace v8 |
| 280 | 281 |
| 281 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |