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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 V(kJSObjectWithFastElementsMapHasSlowElements, \ | 149 V(kJSObjectWithFastElementsMapHasSlowElements, \ |
150 "JSObject with fast elements map has slow elements") \ | 150 "JSObject with fast elements map has slow elements") \ |
151 V(kLetBindingReInitialization, "Let binding re-initialization") \ | 151 V(kLetBindingReInitialization, "Let binding re-initialization") \ |
152 V(kLhsHasBeenClobbered, "lhs has been clobbered") \ | 152 V(kLhsHasBeenClobbered, "lhs has been clobbered") \ |
153 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ | 153 V(kLiveBytesCountOverflowChunkSize, "Live Bytes Count overflow chunk size") \ |
154 V(kLiveEdit, "LiveEdit") \ | 154 V(kLiveEdit, "LiveEdit") \ |
155 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ | 155 V(kLookupVariableInCountOperation, "Lookup variable in count operation") \ |
156 V(kMapBecameDeprecated, "Map became deprecated") \ | 156 V(kMapBecameDeprecated, "Map became deprecated") \ |
157 V(kMapBecameUnstable, "Map became unstable") \ | 157 V(kMapBecameUnstable, "Map became unstable") \ |
158 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ | 158 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ |
159 V(kModuleDeclaration, "Module declaration") \ | |
160 V(kModuleLiteral, "Module literal") \ | |
161 V(kModulePath, "Module path") \ | |
162 V(kModuleStatement, "Module statement") \ | |
163 V(kModuleVariable, "Module variable") \ | |
164 V(kModuleUrl, "Module url") \ | |
165 V(kNativeFunctionLiteral, "Native function literal") \ | 159 V(kNativeFunctionLiteral, "Native function literal") \ |
166 V(kNeedSmiLiteral, "Need a Smi literal here") \ | 160 V(kNeedSmiLiteral, "Need a Smi literal here") \ |
167 V(kNoCasesLeft, "No cases left") \ | 161 V(kNoCasesLeft, "No cases left") \ |
168 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ | 162 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ |
169 "No empty arrays here in EmitFastOneByteArrayJoin") \ | 163 "No empty arrays here in EmitFastOneByteArrayJoin") \ |
170 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 164 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
171 V(kNonSmiIndex, "Non-smi index") \ | 165 V(kNonSmiIndex, "Non-smi index") \ |
172 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 166 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
173 V(kNonSmiValue, "Non-smi value") \ | 167 V(kNonSmiValue, "Non-smi value") \ |
174 V(kNonObject, "Non-object value") \ | 168 V(kNonObject, "Non-object value") \ |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 }; | 326 }; |
333 #undef ERROR_MESSAGES_CONSTANTS | 327 #undef ERROR_MESSAGES_CONSTANTS |
334 | 328 |
335 | 329 |
336 const char* GetBailoutReason(BailoutReason reason); | 330 const char* GetBailoutReason(BailoutReason reason); |
337 | 331 |
338 } // namespace internal | 332 } // namespace internal |
339 } // namespace v8 | 333 } // namespace v8 |
340 | 334 |
341 #endif // V8_BAILOUT_REASON_H_ | 335 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |