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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ | 118 V(kInvalidLhsInCountOperation, "Invalid lhs in count operation") \ |
119 V(kInvalidMinLength, "Invalid min_length") \ | 119 V(kInvalidMinLength, "Invalid min_length") \ |
120 V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ | 120 V(kInvalidRegisterFileInGenerator, "invalid register file in generator") \ |
121 V(kJSObjectWithFastElementsMapHasSlowElements, \ | 121 V(kJSObjectWithFastElementsMapHasSlowElements, \ |
122 "JSObject with fast elements map has slow elements") \ | 122 "JSObject with fast elements map has slow elements") \ |
123 V(kLetBindingReInitialization, "Let binding re-initialization") \ | 123 V(kLetBindingReInitialization, "Let binding re-initialization") \ |
124 V(kLiveEdit, "LiveEdit") \ | 124 V(kLiveEdit, "LiveEdit") \ |
125 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ | 125 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ |
126 V(kMapBecameDeprecated, "Map became deprecated") \ | 126 V(kMapBecameDeprecated, "Map became deprecated") \ |
127 V(kMapBecameUnstable, "Map became unstable") \ | 127 V(kMapBecameUnstable, "Map became unstable") \ |
| 128 V(kMissingBytecodeArray, "Missing bytecode array from function") \ |
128 V(kNativeFunctionLiteral, "Native function literal") \ | 129 V(kNativeFunctionLiteral, "Native function literal") \ |
129 V(kNeedSmiLiteral, "Need a Smi literal here") \ | 130 V(kNeedSmiLiteral, "Need a Smi literal here") \ |
130 V(kNoCasesLeft, "No cases left") \ | 131 V(kNoCasesLeft, "No cases left") \ |
131 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 132 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
132 V(kNonSmiIndex, "Non-smi index") \ | 133 V(kNonSmiIndex, "Non-smi index") \ |
133 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 134 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
134 V(kNonSmiValue, "Non-smi value") \ | 135 V(kNonSmiValue, "Non-smi value") \ |
135 V(kNonObject, "Non-object value") \ | 136 V(kNonObject, "Non-object value") \ |
136 V(kNotEnoughVirtualRegistersForValues, \ | 137 V(kNotEnoughVirtualRegistersForValues, \ |
137 "Not enough virtual registers for values") \ | 138 "Not enough virtual registers for values") \ |
(...skipping 133 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 |