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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 V(kOperandIsNotANumber, "Operand is not a number") \ | 158 V(kOperandIsNotANumber, "Operand is not a number") \ |
159 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ | 159 V(kOperandIsNotAReceiver, "Operand is not a receiver") \ |
160 V(kOperandIsNotASmi, "Operand is not a smi") \ | 160 V(kOperandIsNotASmi, "Operand is not a smi") \ |
161 V(kOperandIsNotAString, "Operand is not a string") \ | 161 V(kOperandIsNotAString, "Operand is not a string") \ |
162 V(kOperandIsNotSmi, "Operand is not smi") \ | 162 V(kOperandIsNotSmi, "Operand is not smi") \ |
163 V(kOperandNotANumber, "Operand not a number") \ | 163 V(kOperandNotANumber, "Operand not a number") \ |
164 V(kObjectTagged, "The object is tagged") \ | 164 V(kObjectTagged, "The object is tagged") \ |
165 V(kObjectNotTagged, "The object is not tagged") \ | 165 V(kObjectNotTagged, "The object is not tagged") \ |
166 V(kOptimizationDisabled, "Optimization disabled") \ | 166 V(kOptimizationDisabled, "Optimization disabled") \ |
167 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ | 167 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ |
168 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 168 V(kDeoptimizedTooManyTimes, "Deoptimized too many times") \ |
169 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 169 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
170 "Out of virtual registers while trying to allocate temp register") \ | 170 "Out of virtual registers while trying to allocate temp register") \ |
171 V(kParseScopeError, "Parse/scope error") \ | 171 V(kParseScopeError, "Parse/scope error") \ |
172 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 172 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
173 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 173 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
174 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 174 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
175 "Reference to a variable which requires dynamic lookup") \ | 175 "Reference to a variable which requires dynamic lookup") \ |
176 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 176 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
177 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ | 177 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ |
178 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 178 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 }; | 271 }; |
272 #undef ERROR_MESSAGES_CONSTANTS | 272 #undef ERROR_MESSAGES_CONSTANTS |
273 | 273 |
274 | 274 |
275 const char* GetBailoutReason(BailoutReason reason); | 275 const char* GetBailoutReason(BailoutReason reason); |
276 | 276 |
277 } // namespace internal | 277 } // namespace internal |
278 } // namespace v8 | 278 } // namespace v8 |
279 | 279 |
280 #endif // V8_BAILOUT_REASON_H_ | 280 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |