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