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