| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ | 155 V(kOperandIsNotAGeneratorObject, "Operand is not a generator object") \ |
| 156 V(kOperandIsNotAName, "Operand is not a name") \ | 156 V(kOperandIsNotAName, "Operand is not a name") \ |
| 157 V(kOperandIsNotANumber, "Operand is not a number") \ | 157 V(kOperandIsNotANumber, "Operand is not a number") \ |
| 158 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ | 158 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ |
| 159 V(kOperandIsNotASmi, "Operand is not a smi") \ | 159 V(kOperandIsNotASmi, "Operand is not a smi") \ |
| 160 V(kOperandIsNotAString, "Operand is not a string") \ | 160 V(kOperandIsNotAString, "Operand is not a string") \ |
| 161 V(kOperandIsNotSmi, "Operand is not smi") \ | 161 V(kOperandIsNotSmi, "Operand is not smi") \ |
| 162 V(kOperandNotANumber, "Operand not a number") \ | 162 V(kOperandNotANumber, "Operand not a number") \ |
| 163 V(kObjectTagged, "The object is tagged") \ | 163 V(kObjectTagged, "The object is tagged") \ |
| 164 V(kObjectNotTagged, "The object is not tagged") \ | 164 V(kObjectNotTagged, "The object is not tagged") \ |
| 165 V(kOptimizationDisabled, "Optimization is disabled") \ | 165 V(kOptimizationDisabled, "Optimization disabled") \ |
| 166 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ |
| 166 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 167 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
| 167 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 168 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
| 168 "Out of virtual registers while trying to allocate temp register") \ | 169 "Out of virtual registers while trying to allocate temp register") \ |
| 169 V(kParseScopeError, "Parse/scope error") \ | 170 V(kParseScopeError, "Parse/scope error") \ |
| 170 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 171 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
| 171 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 172 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 172 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 173 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 173 "Reference to a variable which requires dynamic lookup") \ | 174 "Reference to a variable which requires dynamic lookup") \ |
| 174 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 175 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 175 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 176 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 }; | 280 }; |
| 280 #undef ERROR_MESSAGES_CONSTANTS | 281 #undef ERROR_MESSAGES_CONSTANTS |
| 281 | 282 |
| 282 | 283 |
| 283 const char* GetBailoutReason(BailoutReason reason); | 284 const char* GetBailoutReason(BailoutReason reason); |
| 284 | 285 |
| 285 } // namespace internal | 286 } // namespace internal |
| 286 } // namespace v8 | 287 } // namespace v8 |
| 287 | 288 |
| 288 #endif // V8_BAILOUT_REASON_H_ | 289 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |