| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ | 49 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ |
| 50 V(kDebuggerStatement, "DebuggerStatement") \ | 50 V(kDebuggerStatement, "DebuggerStatement") \ |
| 51 V(kDeclarationInCatchContext, "Declaration in catch context") \ | 51 V(kDeclarationInCatchContext, "Declaration in catch context") \ |
| 52 V(kDeclarationInWithContext, "Declaration in with context") \ | 52 V(kDeclarationInWithContext, "Declaration in with context") \ |
| 53 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ | 53 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ |
| 54 V(kDeleteWithGlobalVariable, "Delete with global variable") \ | 54 V(kDeleteWithGlobalVariable, "Delete with global variable") \ |
| 55 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ | 55 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ |
| 56 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ | 56 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ |
| 57 V(kDontDeleteCellsCannotContainTheHole, \ | 57 V(kDontDeleteCellsCannotContainTheHole, \ |
| 58 "DontDelete cells can't contain the hole") \ | 58 "DontDelete cells can't contain the hole") \ |
| 59 V(kDoExpression, "Do expression encountered") \ | 59 V(kDoExpressionUnmodelable, \ |
| 60 "Encountered a do-expression with unmodelable control statements") \ |
| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 }; | 272 }; |
| 272 #undef ERROR_MESSAGES_CONSTANTS | 273 #undef ERROR_MESSAGES_CONSTANTS |
| 273 | 274 |
| 274 | 275 |
| 275 const char* GetBailoutReason(BailoutReason reason); | 276 const char* GetBailoutReason(BailoutReason reason); |
| 276 | 277 |
| 277 } // namespace internal | 278 } // namespace internal |
| 278 } // namespace v8 | 279 } // namespace v8 |
| 279 | 280 |
| 280 #endif // V8_BAILOUT_REASON_H_ | 281 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |