| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 V(kNonSmiValue, "Non-smi value") \ | 147 V(kNonSmiValue, "Non-smi value") \ |
| 148 V(kNonObject, "Non-object value") \ | 148 V(kNonObject, "Non-object value") \ |
| 149 V(kNotEnoughVirtualRegistersForValues, \ | 149 V(kNotEnoughVirtualRegistersForValues, \ |
| 150 "Not enough virtual registers for values") \ | 150 "Not enough virtual registers for values") \ |
| 151 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ | 151 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ |
| 152 V(kNotEnoughVirtualRegistersRegalloc, \ | 152 V(kNotEnoughVirtualRegistersRegalloc, \ |
| 153 "Not enough virtual registers (regalloc)") \ | 153 "Not enough virtual registers (regalloc)") \ |
| 154 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ | 154 V(kObjectFoundInSmiOnlyArray, "Object found in smi-only array") \ |
| 155 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ | 155 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ |
| 156 V(kOffsetOutOfRange, "Offset out of range") \ | 156 V(kOffsetOutOfRange, "Offset out of range") \ |
| 157 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ | |
| 158 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ | 157 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ |
| 159 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ | 158 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ |
| 160 V(kOperandIsASmi, "Operand is a smi") \ | 159 V(kOperandIsASmi, "Operand is a smi") \ |
| 161 V(kOperandIsNotADate, "Operand is not a date") \ | 160 V(kOperandIsNotADate, "Operand is not a date") \ |
| 162 V(kOperandIsNotAFunction, "Operand is not a function") \ | |
| 163 V(kOperandIsNotAName, "Operand is not a name") \ | 161 V(kOperandIsNotAName, "Operand is not a name") \ |
| 164 V(kOperandIsNotANumber, "Operand is not a number") \ | 162 V(kOperandIsNotANumber, "Operand is not a number") \ |
| 165 V(kOperandIsNotASmi, "Operand is not a smi") \ | 163 V(kOperandIsNotASmi, "Operand is not a smi") \ |
| 166 V(kOperandIsNotAString, "Operand is not a string") \ | 164 V(kOperandIsNotAString, "Operand is not a string") \ |
| 167 V(kOperandIsNotSmi, "Operand is not smi") \ | 165 V(kOperandIsNotSmi, "Operand is not smi") \ |
| 168 V(kOperandNotANumber, "Operand not a number") \ | 166 V(kOperandNotANumber, "Operand not a number") \ |
| 169 V(kObjectTagged, "The object is tagged") \ | 167 V(kObjectTagged, "The object is tagged") \ |
| 170 V(kObjectNotTagged, "The object is not tagged") \ | 168 V(kObjectNotTagged, "The object is not tagged") \ |
| 171 V(kOptimizationDisabled, "Optimization is disabled") \ | 169 V(kOptimizationDisabled, "Optimization is disabled") \ |
| 172 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 170 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 }; | 292 }; |
| 295 #undef ERROR_MESSAGES_CONSTANTS | 293 #undef ERROR_MESSAGES_CONSTANTS |
| 296 | 294 |
| 297 | 295 |
| 298 const char* GetBailoutReason(BailoutReason reason); | 296 const char* GetBailoutReason(BailoutReason reason); |
| 299 | 297 |
| 300 } // namespace internal | 298 } // namespace internal |
| 301 } // namespace v8 | 299 } // namespace v8 |
| 302 | 300 |
| 303 #endif // V8_BAILOUT_REASON_H_ | 301 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |