| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 V(kOperandNotANumber, "Operand not a number") \ | 188 V(kOperandNotANumber, "Operand not a number") \ |
| 189 V(kObjectTagged, "The object is tagged") \ | 189 V(kObjectTagged, "The object is tagged") \ |
| 190 V(kObjectNotTagged, "The object is not tagged") \ | 190 V(kObjectNotTagged, "The object is not tagged") \ |
| 191 V(kOptimizationDisabled, "Optimization is disabled") \ | 191 V(kOptimizationDisabled, "Optimization is disabled") \ |
| 192 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 192 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
| 193 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 193 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
| 194 "Out of virtual registers while trying to allocate temp register") \ | 194 "Out of virtual registers while trying to allocate temp register") \ |
| 195 V(kParseScopeError, "Parse/scope error") \ | 195 V(kParseScopeError, "Parse/scope error") \ |
| 196 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 196 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
| 197 V(kPreconditionsWereNotMet, "Preconditions were not met") \ | 197 V(kPreconditionsWereNotMet, "Preconditions were not met") \ |
| 198 V(kPropertyAllocationCountFailed, "Property allocation count failed") \ | |
| 199 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 198 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 200 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 199 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 201 "Reference to a variable which requires dynamic lookup") \ | 200 "Reference to a variable which requires dynamic lookup") \ |
| 202 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 201 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 203 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 202 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 204 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 203 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 205 V(kRegisterWasClobbered, "Register was clobbered") \ | 204 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 206 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 205 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 207 V(kRestParameter, "Rest parameters") \ | 206 V(kRestParameter, "Rest parameters") \ |
| 208 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 207 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 }; | 327 }; |
| 329 #undef ERROR_MESSAGES_CONSTANTS | 328 #undef ERROR_MESSAGES_CONSTANTS |
| 330 | 329 |
| 331 | 330 |
| 332 const char* GetBailoutReason(BailoutReason reason); | 331 const char* GetBailoutReason(BailoutReason reason); |
| 333 | 332 |
| 334 } // namespace internal | 333 } // namespace internal |
| 335 } // namespace v8 | 334 } // namespace v8 |
| 336 | 335 |
| 337 #endif // V8_BAILOUT_REASON_H_ | 336 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |