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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 V(kDoExpressionUnmodelable, \ | 57 V(kDoExpressionUnmodelable, \ |
58 "Encountered a do-expression with unmodelable control statements") \ | 58 "Encountered a do-expression with unmodelable control statements") \ |
59 V(kDoPushArgumentNotImplementedForDoubleType, \ | 59 V(kDoPushArgumentNotImplementedForDoubleType, \ |
60 "DoPushArgument not implemented for double type") \ | 60 "DoPushArgument not implemented for double type") \ |
61 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ | 61 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ |
62 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ | 62 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ |
63 "EmitLoadRegister: Unsupported double immediate") \ | 63 "EmitLoadRegister: Unsupported double immediate") \ |
64 V(kEval, "eval") \ | 64 V(kEval, "eval") \ |
65 V(kExpectedAlignmentMarker, "Expected alignment marker") \ | 65 V(kExpectedAlignmentMarker, "Expected alignment marker") \ |
66 V(kExpectedAllocationSite, "Expected allocation site") \ | 66 V(kExpectedAllocationSite, "Expected allocation site") \ |
| 67 V(kExpectedBooleanValue, "Expected boolean value") \ |
67 V(kExpectedFunctionObject, "Expected function object in register") \ | 68 V(kExpectedFunctionObject, "Expected function object in register") \ |
68 V(kExpectedHeapNumber, "Expected HeapNumber") \ | 69 V(kExpectedHeapNumber, "Expected HeapNumber") \ |
69 V(kExpectedNativeContext, "Expected native context") \ | 70 V(kExpectedNativeContext, "Expected native context") \ |
70 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ | 71 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ |
71 V(kExpectedNonNullContext, "Expected non-null context") \ | 72 V(kExpectedNonNullContext, "Expected non-null context") \ |
72 V(kExpectedPositiveZero, "Expected +0.0") \ | 73 V(kExpectedPositiveZero, "Expected +0.0") \ |
73 V(kExpectedNewSpaceObject, "Expected new space object") \ | 74 V(kExpectedNewSpaceObject, "Expected new space object") \ |
74 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 75 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
75 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 76 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
76 V(kExportDeclaration, "Export declaration") \ | 77 V(kExportDeclaration, "Export declaration") \ |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 }; | 288 }; |
288 #undef ERROR_MESSAGES_CONSTANTS | 289 #undef ERROR_MESSAGES_CONSTANTS |
289 | 290 |
290 | 291 |
291 const char* GetBailoutReason(BailoutReason reason); | 292 const char* GetBailoutReason(BailoutReason reason); |
292 | 293 |
293 } // namespace internal | 294 } // namespace internal |
294 } // namespace v8 | 295 } // namespace v8 |
295 | 296 |
296 #endif // V8_BAILOUT_REASON_H_ | 297 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |