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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ | 50 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ |
51 V(kDebuggerStatement, "DebuggerStatement") \ | 51 V(kDebuggerStatement, "DebuggerStatement") \ |
52 V(kDeclarationInCatchContext, "Declaration in catch context") \ | 52 V(kDeclarationInCatchContext, "Declaration in catch context") \ |
53 V(kDeclarationInWithContext, "Declaration in with context") \ | 53 V(kDeclarationInWithContext, "Declaration in with context") \ |
54 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ | 54 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ |
55 V(kDeleteWithGlobalVariable, "Delete with global variable") \ | 55 V(kDeleteWithGlobalVariable, "Delete with global variable") \ |
56 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ | 56 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ |
57 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ | 57 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ |
58 V(kDontDeleteCellsCannotContainTheHole, \ | 58 V(kDontDeleteCellsCannotContainTheHole, \ |
59 "DontDelete cells can't contain the hole") \ | 59 "DontDelete cells can't contain the hole") \ |
| 60 V(kDoExpression, "Do expression encountered") \ |
60 V(kDoPushArgumentNotImplementedForDoubleType, \ | 61 V(kDoPushArgumentNotImplementedForDoubleType, \ |
61 "DoPushArgument not implemented for double type") \ | 62 "DoPushArgument not implemented for double type") \ |
62 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ | 63 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ |
63 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ | 64 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ |
64 "EmitLoadRegister: Unsupported double immediate") \ | 65 "EmitLoadRegister: Unsupported double immediate") \ |
65 V(kEval, "eval") \ | 66 V(kEval, "eval") \ |
66 V(kExpectedAlignmentMarker, "Expected alignment marker") \ | 67 V(kExpectedAlignmentMarker, "Expected alignment marker") \ |
67 V(kExpectedAllocationSite, "Expected allocation site") \ | 68 V(kExpectedAllocationSite, "Expected allocation site") \ |
68 V(kExpectedFunctionObject, "Expected function object in register") \ | 69 V(kExpectedFunctionObject, "Expected function object in register") \ |
69 V(kExpectedHeapNumber, "Expected HeapNumber") \ | 70 V(kExpectedHeapNumber, "Expected HeapNumber") \ |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 }; | 267 }; |
267 #undef ERROR_MESSAGES_CONSTANTS | 268 #undef ERROR_MESSAGES_CONSTANTS |
268 | 269 |
269 | 270 |
270 const char* GetBailoutReason(BailoutReason reason); | 271 const char* GetBailoutReason(BailoutReason reason); |
271 | 272 |
272 } // namespace internal | 273 } // namespace internal |
273 } // namespace v8 | 274 } // namespace v8 |
274 | 275 |
275 #endif // V8_BAILOUT_REASON_H_ | 276 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |