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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 V(kNotEnoughVirtualRegistersRegalloc, \ | 172 V(kNotEnoughVirtualRegistersRegalloc, \ |
173 "Not enough virtual registers (regalloc)") \ | 173 "Not enough virtual registers (regalloc)") \ |
174 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ | 174 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ |
175 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ | 175 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ |
176 V(kOddballInStringTableIsNotUndefinedOrTheHole, \ | 176 V(kOddballInStringTableIsNotUndefinedOrTheHole, \ |
177 "Oddball in string table is not undefined or the hole") \ | 177 "Oddball in string table is not undefined or the hole") \ |
178 V(kOffsetOutOfRange, "Offset out of range") \ | 178 V(kOffsetOutOfRange, "Offset out of range") \ |
179 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ | 179 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ |
180 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ | 180 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ |
181 V(kOperandIsASmi, "Operand is a smi") \ | 181 V(kOperandIsASmi, "Operand is a smi") \ |
| 182 V(kOperandIsNotADate, "Operand is not a date") \ |
182 V(kOperandIsNotAName, "Operand is not a name") \ | 183 V(kOperandIsNotAName, "Operand is not a name") \ |
183 V(kOperandIsNotANumber, "Operand is not a number") \ | 184 V(kOperandIsNotANumber, "Operand is not a number") \ |
184 V(kOperandIsNotASmi, "Operand is not a smi") \ | 185 V(kOperandIsNotASmi, "Operand is not a smi") \ |
185 V(kOperandIsNotAString, "Operand is not a string") \ | 186 V(kOperandIsNotAString, "Operand is not a string") \ |
186 V(kOperandIsNotSmi, "Operand is not smi") \ | 187 V(kOperandIsNotSmi, "Operand is not smi") \ |
187 V(kOperandNotANumber, "Operand not a number") \ | 188 V(kOperandNotANumber, "Operand not a number") \ |
188 V(kObjectTagged, "The object is tagged") \ | 189 V(kObjectTagged, "The object is tagged") \ |
189 V(kObjectNotTagged, "The object is not tagged") \ | 190 V(kObjectNotTagged, "The object is not tagged") \ |
190 V(kOptimizationDisabled, "Optimization is disabled") \ | 191 V(kOptimizationDisabled, "Optimization is disabled") \ |
191 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 192 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 }; | 328 }; |
328 #undef ERROR_MESSAGES_CONSTANTS | 329 #undef ERROR_MESSAGES_CONSTANTS |
329 | 330 |
330 | 331 |
331 const char* GetBailoutReason(BailoutReason reason); | 332 const char* GetBailoutReason(BailoutReason reason); |
332 | 333 |
333 } // namespace internal | 334 } // namespace internal |
334 } // namespace v8 | 335 } // namespace v8 |
335 | 336 |
336 #endif // V8_BAILOUT_REASON_H_ | 337 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |