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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 V(kForOfStatement, "ForOfStatement") \ | 81 V(kForOfStatement, "ForOfStatement") \ |
82 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ | 82 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ |
83 V(kFunctionBeingDebugged, "Function is being debugged") \ | 83 V(kFunctionBeingDebugged, "Function is being debugged") \ |
84 V(kFunctionCallsEval, "Function calls eval") \ | 84 V(kFunctionCallsEval, "Function calls eval") \ |
85 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 85 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
86 "The function_data field should be a BytecodeArray on interpreter entry") \ | 86 "The function_data field should be a BytecodeArray on interpreter entry") \ |
87 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 87 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
88 V(kGenerator, "Generator") \ | 88 V(kGenerator, "Generator") \ |
89 V(kGlobalFunctionsMustHaveInitialMap, \ | 89 V(kGlobalFunctionsMustHaveInitialMap, \ |
90 "Global functions must have initial map") \ | 90 "Global functions must have initial map") \ |
| 91 V(kGraphBuildingFailed, "Optimized graph construction failed") \ |
91 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 92 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
92 V(kHydrogenFilter, "Optimization disabled by filter") \ | 93 V(kHydrogenFilter, "Optimization disabled by filter") \ |
93 V(kImportDeclaration, "Import declaration") \ | 94 V(kImportDeclaration, "Import declaration") \ |
94 V(kIndexIsNegative, "Index is negative") \ | 95 V(kIndexIsNegative, "Index is negative") \ |
95 V(kIndexIsTooLarge, "Index is too large") \ | 96 V(kIndexIsTooLarge, "Index is too large") \ |
96 V(kInliningBailedOut, "Inlining bailed out") \ | 97 V(kInliningBailedOut, "Inlining bailed out") \ |
97 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 98 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
98 "Input GPR is expected to have upper32 cleared") \ | 99 "Input GPR is expected to have upper32 cleared") \ |
99 V(kInputStringTooLong, "Input string too long") \ | 100 V(kInputStringTooLong, "Input string too long") \ |
100 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ | 101 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ |
(...skipping 176 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 |