| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 132 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
| 133 V(kNonSmiIndex, "Non-smi index") \ | 133 V(kNonSmiIndex, "Non-smi index") \ |
| 134 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 134 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
| 135 V(kNonSmiValue, "Non-smi value") \ | 135 V(kNonSmiValue, "Non-smi value") \ |
| 136 V(kNonObject, "Non-object value") \ | 136 V(kNonObject, "Non-object value") \ |
| 137 V(kNotEnoughVirtualRegistersForValues, \ | 137 V(kNotEnoughVirtualRegistersForValues, \ |
| 138 "Not enough virtual registers for values") \ | 138 "Not enough virtual registers for values") \ |
| 139 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ | 139 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ |
| 140 V(kNotEnoughVirtualRegistersRegalloc, \ | 140 V(kNotEnoughVirtualRegistersRegalloc, \ |
| 141 "Not enough virtual registers (regalloc)") \ | 141 "Not enough virtual registers (regalloc)") \ |
| 142 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ | |
| 143 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ | 142 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ |
| 144 V(kOffsetOutOfRange, "Offset out of range") \ | 143 V(kOffsetOutOfRange, "Offset out of range") \ |
| 145 V(kOperandIsANumber, "Operand is a number") \ | 144 V(kOperandIsANumber, "Operand is a number") \ |
| 146 V(kOperandIsASmiAndNotABoundFunction, \ | 145 V(kOperandIsASmiAndNotABoundFunction, \ |
| 147 "Operand is a smi and not a bound function") \ | 146 "Operand is a smi and not a bound function") \ |
| 148 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ | 147 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ |
| 149 V(kOperandIsASmiAndNotAGeneratorObject, \ | 148 V(kOperandIsASmiAndNotAGeneratorObject, \ |
| 150 "Operand is a smi and not a generator object") \ | 149 "Operand is a smi and not a generator object") \ |
| 151 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ | 150 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ |
| 152 V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ | 151 V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 }; | 271 }; |
| 273 #undef ERROR_MESSAGES_CONSTANTS | 272 #undef ERROR_MESSAGES_CONSTANTS |
| 274 | 273 |
| 275 | 274 |
| 276 const char* GetBailoutReason(BailoutReason reason); | 275 const char* GetBailoutReason(BailoutReason reason); |
| 277 | 276 |
| 278 } // namespace internal | 277 } // namespace internal |
| 279 } // namespace v8 | 278 } // namespace v8 |
| 280 | 279 |
| 281 #endif // V8_BAILOUT_REASON_H_ | 280 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |