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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 V(kExpectedNativeContext, "Expected native context") \ | 71 V(kExpectedNativeContext, "Expected native context") \ |
72 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ | 72 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ |
73 V(kExpectedNonNullContext, "Expected non-null context") \ | 73 V(kExpectedNonNullContext, "Expected non-null context") \ |
74 V(kExpectedPositiveZero, "Expected +0.0") \ | 74 V(kExpectedPositiveZero, "Expected +0.0") \ |
75 V(kExpectedNewSpaceObject, "Expected new space object") \ | 75 V(kExpectedNewSpaceObject, "Expected new space object") \ |
76 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 76 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
77 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 77 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
78 V(kExportDeclaration, "Export declaration") \ | 78 V(kExportDeclaration, "Export declaration") \ |
79 V(kExternalStringExpectedButNotFound, \ | 79 V(kExternalStringExpectedButNotFound, \ |
80 "External string expected, but not found") \ | 80 "External string expected, but not found") \ |
81 V(kForInStatementOptimizationIsDisabled, \ | |
82 "ForInStatement optimization is disabled") \ | |
83 V(kForInStatementWithNonLocalEachVariable, \ | 81 V(kForInStatementWithNonLocalEachVariable, \ |
84 "ForInStatement with non-local each variable") \ | 82 "ForInStatement with non-local each variable") \ |
85 V(kForOfStatement, "ForOfStatement") \ | 83 V(kForOfStatement, "ForOfStatement") \ |
86 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ | 84 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ |
87 V(kFunctionBeingDebugged, "Function is being debugged") \ | 85 V(kFunctionBeingDebugged, "Function is being debugged") \ |
88 V(kFunctionCallsEval, "Function calls eval") \ | 86 V(kFunctionCallsEval, "Function calls eval") \ |
89 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ | 87 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ |
90 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 88 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
91 "The function_data field should be a BytecodeArray on interpreter entry") \ | 89 "The function_data field should be a BytecodeArray on interpreter entry") \ |
92 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 }; | 271 }; |
274 #undef ERROR_MESSAGES_CONSTANTS | 272 #undef ERROR_MESSAGES_CONSTANTS |
275 | 273 |
276 | 274 |
277 const char* GetBailoutReason(BailoutReason reason); | 275 const char* GetBailoutReason(BailoutReason reason); |
278 | 276 |
279 } // namespace internal | 277 } // namespace internal |
280 } // namespace v8 | 278 } // namespace v8 |
281 | 279 |
282 #endif // V8_BAILOUT_REASON_H_ | 280 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |