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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 V(kTryCatchStatement, "TryCatchStatement") \ | 206 V(kTryCatchStatement, "TryCatchStatement") \ |
207 V(kTryFinallyStatement, "TryFinallyStatement") \ | 207 V(kTryFinallyStatement, "TryFinallyStatement") \ |
208 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ | 208 V(kUnalignedAllocationInNewSpace, "Unaligned allocation in new space") \ |
209 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ | 209 V(kUnalignedCellInWriteBarrier, "Unaligned cell in write barrier") \ |
210 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ | 210 V(kUnexpectedAllocationTop, "Unexpected allocation top") \ |
211 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ | 211 V(kUnexpectedColorFound, "Unexpected color bit pattern found") \ |
212 V(kUnexpectedElementsKindInArrayConstructor, \ | 212 V(kUnexpectedElementsKindInArrayConstructor, \ |
213 "Unexpected ElementsKind in array constructor") \ | 213 "Unexpected ElementsKind in array constructor") \ |
214 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ | 214 V(kUnexpectedFallthroughFromCharCodeAtSlowCase, \ |
215 "Unexpected fallthrough from CharCodeAt slow case") \ | 215 "Unexpected fallthrough from CharCodeAt slow case") \ |
216 V(kUnexpectedFallthroughFromCharFromCodeSlowCase, \ | |
217 "Unexpected fallthrough from CharFromCode slow case") \ | |
218 V(kUnexpectedFallThroughFromStringComparison, \ | 216 V(kUnexpectedFallThroughFromStringComparison, \ |
219 "Unexpected fall-through from string comparison") \ | 217 "Unexpected fall-through from string comparison") \ |
220 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \ | 218 V(kUnexpectedFallthroughToCharCodeAtSlowCase, \ |
221 "Unexpected fallthrough to CharCodeAt slow case") \ | 219 "Unexpected fallthrough to CharCodeAt slow case") \ |
222 V(kUnexpectedFallthroughToCharFromCodeSlowCase, \ | |
223 "Unexpected fallthrough to CharFromCode slow case") \ | |
224 V(kUnexpectedFPUStackDepthAfterInstruction, \ | 220 V(kUnexpectedFPUStackDepthAfterInstruction, \ |
225 "Unexpected FPU stack depth after instruction") \ | 221 "Unexpected FPU stack depth after instruction") \ |
226 V(kUnexpectedInitialMapForArrayFunction1, \ | 222 V(kUnexpectedInitialMapForArrayFunction1, \ |
227 "Unexpected initial map for Array function (1)") \ | 223 "Unexpected initial map for Array function (1)") \ |
228 V(kUnexpectedInitialMapForArrayFunction2, \ | 224 V(kUnexpectedInitialMapForArrayFunction2, \ |
229 "Unexpected initial map for Array function (2)") \ | 225 "Unexpected initial map for Array function (2)") \ |
230 V(kUnexpectedInitialMapForArrayFunction, \ | 226 V(kUnexpectedInitialMapForArrayFunction, \ |
231 "Unexpected initial map for Array function") \ | 227 "Unexpected initial map for Array function") \ |
232 V(kUnexpectedInitialMapForInternalArrayFunction, \ | 228 V(kUnexpectedInitialMapForInternalArrayFunction, \ |
233 "Unexpected initial map for InternalArray function") \ | 229 "Unexpected initial map for InternalArray function") \ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 }; | 273 }; |
278 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
279 | 275 |
280 | 276 |
281 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
282 | 278 |
283 } // namespace internal | 279 } // namespace internal |
284 } // namespace v8 | 280 } // namespace v8 |
285 | 281 |
286 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |