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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 V(kInvalidBytecode, "Invalid bytecode") \ | 103 V(kInvalidBytecode, "Invalid bytecode") \ |
104 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ | 104 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ |
105 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ | 105 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ |
106 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ | 106 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ |
107 V(kInvalidFullCodegenState, "invalid full-codegen state") \ | 107 V(kInvalidFullCodegenState, "invalid full-codegen state") \ |
108 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ | 108 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ |
109 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ | 109 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ |
110 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ | 110 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ |
111 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ | 111 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ |
112 V(kInvalidMinLength, "Invalid min_length") \ | 112 V(kInvalidMinLength, "Invalid min_length") \ |
| 113 V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ |
113 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ | 114 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ |
114 "JSGlobalObject::native_context should be a native context") \ | 115 "JSGlobalObject::native_context should be a native context") \ |
115 V(kJSGlobalProxyContextShouldNotBeNull, \ | 116 V(kJSGlobalProxyContextShouldNotBeNull, \ |
116 "JSGlobalProxy::context() should not be null") \ | 117 "JSGlobalProxy::context() should not be null") \ |
117 V(kJSObjectWithFastElementsMapHasSlowElements, \ | 118 V(kJSObjectWithFastElementsMapHasSlowElements, \ |
118 "JSObject with fast elements map has slow elements") \ | 119 "JSObject with fast elements map has slow elements") \ |
119 V(kLetBindingReInitialization, "Let binding re-initialization") \ | 120 V(kLetBindingReInitialization, "Let binding re-initialization") \ |
120 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ | 121 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ |
121 V(kLiveEdit, "LiveEdit") \ | 122 V(kLiveEdit, "LiveEdit") \ |
122 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ | 123 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ |
(...skipping 155 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 |