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 10 matching lines...) Expand all Loading... |
21 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ | 21 V(kArrayBoilerplateCreationFailed, "Array boilerplate creation failed") \ |
22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ | 22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ |
23 V(kAssignmentToArguments, "Assignment to arguments") \ | 23 V(kAssignmentToArguments, "Assignment to arguments") \ |
24 V(kAssignmentToLetVariableBeforeInitialization, \ | 24 V(kAssignmentToLetVariableBeforeInitialization, \ |
25 "Assignment to let variable before initialization") \ | 25 "Assignment to let variable before initialization") \ |
26 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ | 26 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ |
27 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ | 27 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ |
28 "Assignment to parameter, function uses arguments object") \ | 28 "Assignment to parameter, function uses arguments object") \ |
29 V(kAssignmentToParameterInArgumentsObject, \ | 29 V(kAssignmentToParameterInArgumentsObject, \ |
30 "Assignment to parameter in arguments object") \ | 30 "Assignment to parameter in arguments object") \ |
| 31 V(kAsyncFunctionBailout, "AsyncFunction") \ |
31 V(kBadValueContextForArgumentsObjectValue, \ | 32 V(kBadValueContextForArgumentsObjectValue, \ |
32 "Bad value context for arguments object value") \ | 33 "Bad value context for arguments object value") \ |
33 V(kBadValueContextForArgumentsValue, \ | 34 V(kBadValueContextForArgumentsValue, \ |
34 "Bad value context for arguments value") \ | 35 "Bad value context for arguments value") \ |
35 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ | 36 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ |
36 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ | 37 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ |
37 V(kBothRegistersWereSmisInSelectNonSmi, \ | 38 V(kBothRegistersWereSmisInSelectNonSmi, \ |
38 "Both registers were smis in SelectNonSmi") \ | 39 "Both registers were smis in SelectNonSmi") \ |
39 V(kClassLiteral, "Class literal") \ | 40 V(kClassLiteral, "Class literal") \ |
40 V(kCodeGenerationFailed, "Code generation failed") \ | 41 V(kCodeGenerationFailed, "Code generation failed") \ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 }; | 279 }; |
279 #undef ERROR_MESSAGES_CONSTANTS | 280 #undef ERROR_MESSAGES_CONSTANTS |
280 | 281 |
281 | 282 |
282 const char* GetBailoutReason(BailoutReason reason); | 283 const char* GetBailoutReason(BailoutReason reason); |
283 | 284 |
284 } // namespace internal | 285 } // namespace internal |
285 } // namespace v8 | 286 } // namespace v8 |
286 | 287 |
287 #endif // V8_BAILOUT_REASON_H_ | 288 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |