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