| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 V(kOptimizationDisabled, "Optimization disabled") \ | 167 V(kOptimizationDisabled, "Optimization disabled") \ |
| 168 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ | 168 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ |
| 169 V(kDeoptimizedTooManyTimes, "Deoptimized too many times") \ | 169 V(kDeoptimizedTooManyTimes, "Deoptimized too many times") \ |
| 170 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 170 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
| 171 "Out of virtual registers while trying to allocate temp register") \ | 171 "Out of virtual registers while trying to allocate temp register") \ |
| 172 V(kParseScopeError, "Parse/scope error") \ | 172 V(kParseScopeError, "Parse/scope error") \ |
| 173 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 173 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
| 174 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 174 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 175 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 175 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 176 "Reference to a variable which requires dynamic lookup") \ | 176 "Reference to a variable which requires dynamic lookup") \ |
| 177 V(kReferenceToLetOrConstVariable, "Reference to let or const variable") \ | |
| 178 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 177 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 179 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ | 178 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ |
| 180 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 179 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 181 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 180 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 182 V(kRegisterWasClobbered, "Register was clobbered") \ | 181 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 183 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 182 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 184 V(kRestParameter, "Rest parameters") \ | 183 V(kRestParameter, "Rest parameters") \ |
| 185 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 186 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 185 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
| 187 "Sloppy function expects JSReceiver as receiver.") \ | 186 "Sloppy function expects JSReceiver as receiver.") \ |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 }; | 274 }; |
| 276 #undef ERROR_MESSAGES_CONSTANTS | 275 #undef ERROR_MESSAGES_CONSTANTS |
| 277 | 276 |
| 278 | 277 |
| 279 const char* GetBailoutReason(BailoutReason reason); | 278 const char* GetBailoutReason(BailoutReason reason); |
| 280 | 279 |
| 281 } // namespace internal | 280 } // namespace internal |
| 282 } // namespace v8 | 281 } // namespace v8 |
| 283 | 282 |
| 284 #endif // V8_BAILOUT_REASON_H_ | 283 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |