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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
91 V(kGeneratorFailedToResume, "Generator failed to resume") \ | 91 V(kGeneratorFailedToResume, "Generator failed to resume") \ |
92 V(kGenerator, "Generator") \ | 92 V(kGenerator, "Generator") \ |
93 V(kGlobalFunctionsMustHaveInitialMap, \ | 93 V(kGlobalFunctionsMustHaveInitialMap, \ |
94 "Global functions must have initial map") \ | 94 "Global functions must have initial map") \ |
95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
96 V(kHydrogenFilter, "Optimization disabled by filter") \ | 96 V(kHydrogenFilter, "Optimization disabled by filter") \ |
97 V(kImportDeclaration, "Import declaration") \ | 97 V(kImportDeclaration, "Import declaration") \ |
98 V(kIndexIsNegative, "Index is negative") \ | 98 V(kIndexIsNegative, "Index is negative") \ |
99 V(kIndexIsTooLarge, "Index is too large") \ | 99 V(kIndexIsTooLarge, "Index is too large") \ |
| 100 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ |
| 101 "Inlined runtime function: FastOneByteArrayJoin") \ |
100 V(kInliningBailedOut, "Inlining bailed out") \ | 102 V(kInliningBailedOut, "Inlining bailed out") \ |
101 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 103 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
102 "Input GPR is expected to have upper32 cleared") \ | 104 "Input GPR is expected to have upper32 cleared") \ |
103 V(kInputStringTooLong, "Input string too long") \ | 105 V(kInputStringTooLong, "Input string too long") \ |
104 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ | 106 V(kInteger32ToSmiFieldWritingToNonSmiLocation, \ |
105 "Integer32ToSmiField writing to non-smi location") \ | 107 "Integer32ToSmiField writing to non-smi location") \ |
106 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ | 108 V(kInvalidCaptureReferenced, "Invalid capture referenced") \ |
107 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ | 109 V(kInvalidElementsKindForInternalArrayOrInternalPackedArray, \ |
108 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ | 110 "Invalid ElementsKind for InternalArray or InternalPackedArray") \ |
109 V(kInvalidFullCodegenState, "invalid full-codegen state") \ | 111 V(kInvalidFullCodegenState, "invalid full-codegen state") \ |
(...skipping 10 matching lines...) Expand all Loading... |
120 "JSObject with fast elements map has slow elements") \ | 122 "JSObject with fast elements map has slow elements") \ |
121 V(kLetBindingReInitialization, "Let binding re-initialization") \ | 123 V(kLetBindingReInitialization, "Let binding re-initialization") \ |
122 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ | 124 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ |
123 V(kLiveEdit, "LiveEdit") \ | 125 V(kLiveEdit, "LiveEdit") \ |
124 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ | 126 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ |
125 V(kMapBecameDeprecated, "Map became deprecated") \ | 127 V(kMapBecameDeprecated, "Map became deprecated") \ |
126 V(kMapBecameUnstable, "Map became unstable") \ | 128 V(kMapBecameUnstable, "Map became unstable") \ |
127 V(kNativeFunctionLiteral, "Native function literal") \ | 129 V(kNativeFunctionLiteral, "Native function literal") \ |
128 V(kNeedSmiLiteral, "Need a Smi literal here") \ | 130 V(kNeedSmiLiteral, "Need a Smi literal here") \ |
129 V(kNoCasesLeft, "No cases left") \ | 131 V(kNoCasesLeft, "No cases left") \ |
| 132 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ |
| 133 "No empty arrays here in EmitFastOneByteArrayJoin") \ |
130 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 134 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
131 V(kNonSmiIndex, "Non-smi index") \ | 135 V(kNonSmiIndex, "Non-smi index") \ |
132 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 136 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
133 V(kNonSmiValue, "Non-smi value") \ | 137 V(kNonSmiValue, "Non-smi value") \ |
134 V(kNonObject, "Non-object value") \ | 138 V(kNonObject, "Non-object value") \ |
135 V(kNotEnoughVirtualRegistersForValues, \ | 139 V(kNotEnoughVirtualRegistersForValues, \ |
136 "Not enough virtual registers for values") \ | 140 "Not enough virtual registers for values") \ |
137 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ | 141 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ |
138 V(kNotEnoughVirtualRegistersRegalloc, \ | 142 V(kNotEnoughVirtualRegistersRegalloc, \ |
139 "Not enough virtual registers (regalloc)") \ | 143 "Not enough virtual registers (regalloc)") \ |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 }; | 273 }; |
270 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
271 | 275 |
272 | 276 |
273 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
274 | 278 |
275 } // namespace internal | 279 } // namespace internal |
276 } // namespace v8 | 280 } // namespace v8 |
277 | 281 |
278 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |