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(kExpectedAllocationSite, "Expected allocation site") \ | 65 V(kExpectedAllocationSite, "Expected allocation site") \ |
66 V(kExpectedBooleanValue, "Expected boolean value") \ | 66 V(kExpectedBooleanValue, "Expected boolean value") \ |
| 67 V(kExpectedFixedDoubleArrayMap, \ |
| 68 "Expected a fixed double array map in fast shallow clone array literal") \ |
67 V(kExpectedFunctionObject, "Expected function object in register") \ | 69 V(kExpectedFunctionObject, "Expected function object in register") \ |
68 V(kExpectedHeapNumber, "Expected HeapNumber") \ | 70 V(kExpectedHeapNumber, "Expected HeapNumber") \ |
69 V(kExpectedJSReceiver, "Expected object to have receiver type") \ | 71 V(kExpectedJSReceiver, "Expected object to have receiver type") \ |
70 V(kExpectedNativeContext, "Expected native context") \ | 72 V(kExpectedNativeContext, "Expected native context") \ |
71 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ | 73 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ |
72 V(kExpectedNonNullContext, "Expected non-null context") \ | 74 V(kExpectedNonNullContext, "Expected non-null context") \ |
73 V(kExpectedPositiveZero, "Expected +0.0") \ | 75 V(kExpectedPositiveZero, "Expected +0.0") \ |
74 V(kExpectedNewSpaceObject, "Expected new space object") \ | 76 V(kExpectedNewSpaceObject, "Expected new space object") \ |
75 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 77 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
76 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 78 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 }; | 273 }; |
272 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
273 | 275 |
274 | 276 |
275 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
276 | 278 |
277 } // namespace internal | 279 } // namespace internal |
278 } // namespace v8 | 280 } // namespace v8 |
279 | 281 |
280 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |