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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 "DontDelete cells can't contain the hole") \ | 55 "DontDelete cells can't contain the hole") \ |
56 V(kDoExpressionUnmodelable, \ | 56 V(kDoExpressionUnmodelable, \ |
57 "Encountered a do-expression with unmodelable control statements") \ | 57 "Encountered a do-expression with unmodelable control statements") \ |
58 V(kDoPushArgumentNotImplementedForDoubleType, \ | 58 V(kDoPushArgumentNotImplementedForDoubleType, \ |
59 "DoPushArgument not implemented for double type") \ | 59 "DoPushArgument not implemented for double type") \ |
60 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ | 60 V(kEliminatedBoundsCheckFailed, "Eliminated bounds check failed") \ |
61 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ | 61 V(kEmitLoadRegisterUnsupportedDoubleImmediate, \ |
62 "EmitLoadRegister: Unsupported double immediate") \ | 62 "EmitLoadRegister: Unsupported double immediate") \ |
63 V(kEval, "eval") \ | 63 V(kEval, "eval") \ |
64 V(kExpectedAllocationSite, "Expected allocation site") \ | 64 V(kExpectedAllocationSite, "Expected allocation site") \ |
| 65 V(kExpectedBooleanValue, "Expected boolean value") \ |
65 V(kExpectedFunctionObject, "Expected function object in register") \ | 66 V(kExpectedFunctionObject, "Expected function object in register") \ |
66 V(kExpectedHeapNumber, "Expected HeapNumber") \ | 67 V(kExpectedHeapNumber, "Expected HeapNumber") \ |
67 V(kExpectedNativeContext, "Expected native context") \ | 68 V(kExpectedNativeContext, "Expected native context") \ |
68 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ | 69 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ |
69 V(kExpectedNonNullContext, "Expected non-null context") \ | 70 V(kExpectedNonNullContext, "Expected non-null context") \ |
70 V(kExpectedPositiveZero, "Expected +0.0") \ | 71 V(kExpectedPositiveZero, "Expected +0.0") \ |
71 V(kExpectedNewSpaceObject, "Expected new space object") \ | 72 V(kExpectedNewSpaceObject, "Expected new space object") \ |
72 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 73 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
73 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 74 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
74 V(kExportDeclaration, "Export declaration") \ | 75 V(kExportDeclaration, "Export declaration") \ |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 }; | 278 }; |
278 #undef ERROR_MESSAGES_CONSTANTS | 279 #undef ERROR_MESSAGES_CONSTANTS |
279 | 280 |
280 | 281 |
281 const char* GetBailoutReason(BailoutReason reason); | 282 const char* GetBailoutReason(BailoutReason reason); |
282 | 283 |
283 } // namespace internal | 284 } // namespace internal |
284 } // namespace v8 | 285 } // namespace v8 |
285 | 286 |
286 #endif // V8_BAILOUT_REASON_H_ | 287 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |