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 "External string expected, but not found") \ | 81 "External string expected, but not found") \ |
82 V(kForInStatementWithNonLocalEachVariable, \ | 82 V(kForInStatementWithNonLocalEachVariable, \ |
83 "ForInStatement with non-local each variable") \ | 83 "ForInStatement with non-local each variable") \ |
84 V(kForOfStatement, "ForOfStatement") \ | 84 V(kForOfStatement, "ForOfStatement") \ |
85 V(kFunctionBeingDebugged, "Function is being debugged") \ | 85 V(kFunctionBeingDebugged, "Function is being debugged") \ |
86 V(kFunctionCallsEval, "Function calls eval") \ | 86 V(kFunctionCallsEval, "Function calls eval") \ |
87 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 87 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
88 "The function_data field should be a BytecodeArray on interpreter entry") \ | 88 "The function_data field should be a BytecodeArray on interpreter entry") \ |
89 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 89 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
90 V(kGenerator, "Generator") \ | 90 V(kGenerator, "Generator") \ |
| 91 V(kGetIterator, "GetIterator") \ |
91 V(kGlobalFunctionsMustHaveInitialMap, \ | 92 V(kGlobalFunctionsMustHaveInitialMap, \ |
92 "Global functions must have initial map") \ | 93 "Global functions must have initial map") \ |
93 V(kGraphBuildingFailed, "Optimized graph construction failed") \ | 94 V(kGraphBuildingFailed, "Optimized graph construction failed") \ |
94 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
95 V(kHydrogenFilter, "Optimization disabled by filter") \ | 96 V(kHydrogenFilter, "Optimization disabled by filter") \ |
96 V(kIndexIsNegative, "Index is negative") \ | 97 V(kIndexIsNegative, "Index is negative") \ |
97 V(kIndexIsTooLarge, "Index is too large") \ | 98 V(kIndexIsTooLarge, "Index is too large") \ |
98 V(kInliningBailedOut, "Inlining bailed out") \ | 99 V(kInliningBailedOut, "Inlining bailed out") \ |
99 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 100 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
100 "Input GPR is expected to have upper32 cleared") \ | 101 "Input GPR is expected to have upper32 cleared") \ |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 }; | 273 }; |
273 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
274 | 275 |
275 | 276 |
276 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
277 | 278 |
278 } // namespace internal | 279 } // namespace internal |
279 } // namespace v8 | 280 } // namespace v8 |
280 | 281 |
281 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |