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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 V(kHydrogenFilter, "Optimization disabled by filter") \ | 95 V(kHydrogenFilter, "Optimization disabled by filter") \ |
96 V(kImportDeclaration, "Import declaration") \ | 96 V(kImportDeclaration, "Import declaration") \ |
97 V(kIndexIsNegative, "Index is negative") \ | 97 V(kIndexIsNegative, "Index is negative") \ |
98 V(kIndexIsTooLarge, "Index is too large") \ | 98 V(kIndexIsTooLarge, "Index is too large") \ |
99 V(kInliningBailedOut, "Inlining bailed out") \ | 99 V(kInliningBailedOut, "Inlining bailed out") \ |
100 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 100 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
101 "Input GPR is expected to have upper32 cleared") \ | 101 "Input GPR is expected to have upper32 cleared") \ |
102 V(kInputStringTooLong, "Input string too long") \ | 102 V(kInputStringTooLong, "Input string too long") \ |
103 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ | 103 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ |
104 "Integer32ToSmiField writing to non-smi location") \ | 104 "Integer32ToSmiField writing to non-smi location") \ |
| 105 V(kInvalidBytecode, "Invalid bytecode") \ |
105 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ | 106 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ |
106 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ | 107 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ |
107 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ | 108 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ |
108 V(kInvalidFullCodegenState, "invalid full-codegen state") \ | 109 V(kInvalidFullCodegenState, "invalid full-codegen state") \ |
109 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ | 110 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ |
110 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ | 111 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ |
111 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ | 112 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ |
112 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ | 113 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ |
113 V(kInvalidMinLength, "Invalid min_length") \ | 114 V(kInvalidMinLength, "Invalid min_length") \ |
114 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ | 115 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 }; | 272 }; |
272 #undef ERROR_MESSAGES_CONSTANTS | 273 #undef ERROR_MESSAGES_CONSTANTS |
273 | 274 |
274 | 275 |
275 const char* GetBailoutReason(BailoutReason reason); | 276 const char* GetBailoutReason(BailoutReason reason); |
276 | 277 |
277 } // namespace internal | 278 } // namespace internal |
278 } // namespace v8 | 279 } // namespace v8 |
279 | 280 |
280 #endif // V8_BAILOUT_REASON_H_ | 281 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |