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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(kGraphBuildingFailed, "Optimized graph construction failed") \ |
92 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 92 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
93 V(kHydrogenFilter, "Optimization disabled by filter") \ | 93 V(kHydrogenFilter, "Optimization disabled by filter") \ |
94 V(kIllegalBytecode, "Illegal bytecode") \ | |
95 V(kImportDeclaration, "Import declaration") \ | 94 V(kImportDeclaration, "Import declaration") \ |
96 V(kIndexIsNegative, "Index is negative") \ | 95 V(kIndexIsNegative, "Index is negative") \ |
97 V(kIndexIsTooLarge, "Index is too large") \ | 96 V(kIndexIsTooLarge, "Index is too large") \ |
98 V(kInliningBailedOut, "Inlining bailed out") \ | 97 V(kInliningBailedOut, "Inlining bailed out") \ |
99 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 98 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
100 "Input GPR is expected to have upper32 cleared") \ | 99 "Input GPR is expected to have upper32 cleared") \ |
101 V(kInputStringTooLong, "Input string too long") \ | 100 V(kInputStringTooLong, "Input string too long") \ |
102 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ | 101 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ |
103 "Integer32ToSmiField writing to non-smi location") \ | 102 "Integer32ToSmiField writing to non-smi location") \ |
104 V(kInvalidBytecode, "Invalid bytecode") \ | 103 V(kInvalidBytecode, "Invalid bytecode") \ |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 }; | 287 }; |
289 #undef ERROR_MESSAGES_CONSTANTS | 288 #undef ERROR_MESSAGES_CONSTANTS |
290 | 289 |
291 | 290 |
292 const char* GetBailoutReason(BailoutReason reason); | 291 const char* GetBailoutReason(BailoutReason reason); |
293 | 292 |
294 } // namespace internal | 293 } // namespace internal |
295 } // namespace v8 | 294 } // namespace v8 |
296 | 295 |
297 #endif // V8_BAILOUT_REASON_H_ | 296 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |