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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ | 106 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ |
107 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ | 107 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ |
108 V(kInvalidFrameForFastNewRestArgumentsStub, \ | 108 V(kInvalidFrameForFastNewRestArgumentsStub, \ |
109 "Invalid frame for FastNewRestArgumentsStub") \ | 109 "Invalid frame for FastNewRestArgumentsStub") \ |
110 V(kInvalidFrameForFastNewSloppyArgumentsStub, \ | 110 V(kInvalidFrameForFastNewSloppyArgumentsStub, \ |
111 "Invalid frame for FastNewSloppyArgumentsStub") \ | 111 "Invalid frame for FastNewSloppyArgumentsStub") \ |
112 V(kInvalidFrameForFastNewStrictArgumentsStub, \ | 112 V(kInvalidFrameForFastNewStrictArgumentsStub, \ |
113 "Invalid frame for FastNewStrictArgumentsStub") \ | 113 "Invalid frame for FastNewStrictArgumentsStub") \ |
114 V(kInvalidFullCodegenState, "invalid full-codegen state") \ | 114 V(kInvalidFullCodegenState, "invalid full-codegen state") \ |
115 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ | 115 V(kInvalidHandleScopeLevel, "Invalid HandleScope level") \ |
| 116 V(kInvalidJumpTableIndex, "Invalid jump table index") \ |
116 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ | 117 V(kInvalidLeftHandSideInAssignment, "Invalid left-hand side in assignment") \ |
117 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ | 118 V(kInvalidLhsInCompoundAssignment, "Invalid lhs in compound assignment") \ |
118 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ | 119 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ |
119 V(kInvalidMinLength, "Invalid min_length") \ | 120 V(kInvalidMinLength, "Invalid min_length") \ |
120 V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ | 121 V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ |
121 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ | 122 V(kJSGlobalObjectNativeContextShouldBeANativeContext, \ |
122 "JSGlobalObject::native_context should be a native context") \ | 123 "JSGlobalObject::native_context should be a native context") \ |
123 V(kJSGlobalProxyContextShouldNotBeNull, \ | 124 V(kJSGlobalProxyContextShouldNotBeNull, \ |
124 "JSGlobalProxy::context() should not be null") \ | 125 "JSGlobalProxy::context() should not be null") \ |
125 V(kJSObjectWithFastElementsMapHasSlowElements, \ | 126 V(kJSObjectWithFastElementsMapHasSlowElements, \ |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 }; | 287 }; |
287 #undef ERROR_MESSAGES_CONSTANTS | 288 #undef ERROR_MESSAGES_CONSTANTS |
288 | 289 |
289 | 290 |
290 const char* GetBailoutReason(BailoutReason reason); | 291 const char* GetBailoutReason(BailoutReason reason); |
291 | 292 |
292 } // namespace internal | 293 } // namespace internal |
293 } // namespace v8 | 294 } // namespace v8 |
294 | 295 |
295 #endif // V8_BAILOUT_REASON_H_ | 296 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |