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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 V(kFunctionCallsEval, "Function calls eval") \ | 82 V(kFunctionCallsEval, "Function calls eval") \ |
83 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 83 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
84 "The function_data field should be a BytecodeArray on interpreter entry") \ | 84 "The function_data field should be a BytecodeArray on interpreter entry") \ |
85 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 85 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
86 V(kGenerator, "Generator") \ | 86 V(kGenerator, "Generator") \ |
87 V(kGlobalFunctionsMustHaveInitialMap, \ | 87 V(kGlobalFunctionsMustHaveInitialMap, \ |
88 "Global functions must have initial map") \ | 88 "Global functions must have initial map") \ |
89 V(kGraphBuildingFailed, "Optimized graph construction failed") \ | 89 V(kGraphBuildingFailed, "Optimized graph construction failed") \ |
90 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 90 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
91 V(kHydrogenFilter, "Optimization disabled by filter") \ | 91 V(kHydrogenFilter, "Optimization disabled by filter") \ |
92 V(kImportDeclaration, "Import declaration") \ | |
93 V(kIndexIsNegative, "Index is negative") \ | 92 V(kIndexIsNegative, "Index is negative") \ |
94 V(kIndexIsTooLarge, "Index is too large") \ | 93 V(kIndexIsTooLarge, "Index is too large") \ |
95 V(kInliningBailedOut, "Inlining bailed out") \ | 94 V(kInliningBailedOut, "Inlining bailed out") \ |
96 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 95 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
97 "Input GPR is expected to have upper32 cleared") \ | 96 "Input GPR is expected to have upper32 cleared") \ |
98 V(kInputStringTooLong, "Input string too long") \ | 97 V(kInputStringTooLong, "Input string too long") \ |
99 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ | 98 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ |
100 "Integer32ToSmiField writing to non-smi location") \ | 99 "Integer32ToSmiField writing to non-smi location") \ |
101 V(kInvalidBytecode, "Invalid bytecode") \ | 100 V(kInvalidBytecode, "Invalid bytecode") \ |
102 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ | 101 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 }; | 274 }; |
276 #undef ERROR_MESSAGES_CONSTANTS | 275 #undef ERROR_MESSAGES_CONSTANTS |
277 | 276 |
278 | 277 |
279 const char* GetBailoutReason(BailoutReason reason); | 278 const char* GetBailoutReason(BailoutReason reason); |
280 | 279 |
281 } // namespace internal | 280 } // namespace internal |
282 } // namespace v8 | 281 } // namespace v8 |
283 | 282 |
284 #endif // V8_BAILOUT_REASON_H_ | 283 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |