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