| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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") \ | 159 V(kModuleDeclaration, "Module declaration") \ |
| 160 V(kModuleLiteral, "Module literal") \ | 160 V(kModuleLiteral, "Module literal") \ |
| 161 V(kModulePath, "Module path") \ | 161 V(kModulePath, "Module path") \ |
| 162 V(kModuleStatement, "Module statement") \ | 162 V(kModuleStatement, "Module statement") \ |
| 163 V(kModuleVariable, "Module variable") \ | 163 V(kModuleVariable, "Module variable") \ |
| 164 V(kModuleUrl, "Module url") \ | 164 V(kModuleUrl, "Module url") \ |
| 165 V(kNativeFunctionLiteral, "Native function literal") \ | 165 V(kNativeFunctionLiteral, "Native function literal") \ |
| 166 V(kNeedSmiLiteral, "Need a Smi literal here") \ | 166 V(kNeedSmiLiteral, "Need a Smi literal here") \ |
| 167 V(kNewTarget, "new.target") \ |
| 167 V(kNoCasesLeft, "No cases left") \ | 168 V(kNoCasesLeft, "No cases left") \ |
| 168 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ | 169 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ |
| 169 "No empty arrays here in EmitFastOneByteArrayJoin") \ | 170 "No empty arrays here in EmitFastOneByteArrayJoin") \ |
| 170 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 171 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
| 171 V(kNonSmiIndex, "Non-smi index") \ | 172 V(kNonSmiIndex, "Non-smi index") \ |
| 172 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 173 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
| 173 V(kNonSmiValue, "Non-smi value") \ | 174 V(kNonSmiValue, "Non-smi value") \ |
| 174 V(kNonObject, "Non-object value") \ | 175 V(kNonObject, "Non-object value") \ |
| 175 V(kNotEnoughVirtualRegistersForValues, \ | 176 V(kNotEnoughVirtualRegistersForValues, \ |
| 176 "Not enough virtual registers for values") \ | 177 "Not enough virtual registers for values") \ |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 }; | 334 }; |
| 334 #undef ERROR_MESSAGES_CONSTANTS | 335 #undef ERROR_MESSAGES_CONSTANTS |
| 335 | 336 |
| 336 | 337 |
| 337 const char* GetBailoutReason(BailoutReason reason); | 338 const char* GetBailoutReason(BailoutReason reason); |
| 338 | 339 |
| 339 } // namespace internal | 340 } // namespace internal |
| 340 } // namespace v8 | 341 } // namespace v8 |
| 341 | 342 |
| 342 #endif // V8_BAILOUT_REASON_H_ | 343 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |