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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(kOptimizedTooManyTimes, "Optimized 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(kReferenceToLetOrConstVariable, "Reference to let or const variable") \ |
176 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 177 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
177 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ | 178 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ |
178 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 179 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
179 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 180 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
180 V(kRegisterWasClobbered, "Register was clobbered") \ | 181 V(kRegisterWasClobbered, "Register was clobbered") \ |
181 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 182 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
182 V(kRestParameter, "Rest parameters") \ | 183 V(kRestParameter, "Rest parameters") \ |
183 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
184 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 185 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
185 "Sloppy function expects JSReceiver as receiver.") \ | 186 "Sloppy function expects JSReceiver as receiver.") \ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 }; | 272 }; |
272 #undef ERROR_MESSAGES_CONSTANTS | 273 #undef ERROR_MESSAGES_CONSTANTS |
273 | 274 |
274 | 275 |
275 const char* GetBailoutReason(BailoutReason reason); | 276 const char* GetBailoutReason(BailoutReason reason); |
276 | 277 |
277 } // namespace internal | 278 } // namespace internal |
278 } // namespace v8 | 279 } // namespace v8 |
279 | 280 |
280 #endif // V8_BAILOUT_REASON_H_ | 281 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |