| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 V(kNonObject, "Non-object value") \ | 135 V(kNonObject, "Non-object value") \ |
| 136 V(kNotEnoughVirtualRegistersForValues, \ | 136 V(kNotEnoughVirtualRegistersForValues, \ |
| 137 "Not enough virtual registers for values") \ | 137 "Not enough virtual registers for values") \ |
| 138 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ | 138 V(kNotEnoughSpillSlotsForOsr, "Not enough spill slots for OSR") \ |
| 139 V(kNotEnoughVirtualRegistersRegalloc, \ | 139 V(kNotEnoughVirtualRegistersRegalloc, \ |
| 140 "Not enough virtual registers (regalloc)") \ | 140 "Not enough virtual registers (regalloc)") \ |
| 141 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ | 141 V(kObjectLiteralWithComplexProperty, "Object literal with complex property") \ |
| 142 V(kOffsetOutOfRange, "Offset out of range") \ | 142 V(kOffsetOutOfRange, "Offset out of range") \ |
| 143 V(kOperandIsASmiAndNotABoundFunction, \ | 143 V(kOperandIsASmiAndNotABoundFunction, \ |
| 144 "Operand is a smi and not a bound function") \ | 144 "Operand is a smi and not a bound function") \ |
| 145 V(kOperandIsASmiAndNotAFixedArray, "Operand is a smi and not a fixed array") \ |
| 145 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ | 146 V(kOperandIsASmiAndNotAFunction, "Operand is a smi and not a function") \ |
| 146 V(kOperandIsASmiAndNotAGeneratorObject, \ | 147 V(kOperandIsASmiAndNotAGeneratorObject, \ |
| 147 "Operand is a smi and not a generator object") \ | 148 "Operand is a smi and not a generator object") \ |
| 148 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ | 149 V(kOperandIsASmiAndNotAName, "Operand is a smi and not a name") \ |
| 149 V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ | 150 V(kOperandIsASmiAndNotAReceiver, "Operand is a smi and not a receiver") \ |
| 150 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ | 151 V(kOperandIsASmiAndNotAString, "Operand is a smi and not a string") \ |
| 151 V(kOperandIsASmi, "Operand is a smi") \ | 152 V(kOperandIsASmi, "Operand is a smi") \ |
| 152 V(kOperandIsNotABoundFunction, "Operand is not a bound function") \ | 153 V(kOperandIsNotABoundFunction, "Operand is not a bound function") \ |
| 154 V(kOperandIsNotAFixedArray, "Operand is not a fixed array") \ |
| 153 V(kOperandIsNotAFunction, "Operand is not a function") \ | 155 V(kOperandIsNotAFunction, "Operand is not a function") \ |
| 154 V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ | 156 V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ |
| 155 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ | 157 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ |
| 156 V(kOperandIsNotASmi, "Operand is not a smi") \ | 158 V(kOperandIsNotASmi, "Operand is not a smi") \ |
| 157 V(kOperandIsNotAString, "Operand is not a string") \ | 159 V(kOperandIsNotAString, "Operand is not a string") \ |
| 158 V(kOperandIsNotSmi, "Operand is not smi") \ | 160 V(kOperandIsNotSmi, "Operand is not smi") \ |
| 159 V(kObjectTagged, "The object is tagged") \ | 161 V(kObjectTagged, "The object is tagged") \ |
| 160 V(kObjectNotTagged, "The object is not tagged") \ | 162 V(kObjectNotTagged, "The object is not tagged") \ |
| 161 V(kOptimizationDisabled, "Optimization disabled") \ | 163 V(kOptimizationDisabled, "Optimization disabled") \ |
| 162 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ | 164 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 }; | 269 }; |
| 268 #undef ERROR_MESSAGES_CONSTANTS | 270 #undef ERROR_MESSAGES_CONSTANTS |
| 269 | 271 |
| 270 | 272 |
| 271 const char* GetBailoutReason(BailoutReason reason); | 273 const char* GetBailoutReason(BailoutReason reason); |
| 272 | 274 |
| 273 } // namespace internal | 275 } // namespace internal |
| 274 } // namespace v8 | 276 } // namespace v8 |
| 275 | 277 |
| 276 #endif // V8_BAILOUT_REASON_H_ | 278 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |