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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 V(kParseScopeError, "Parse/scope error") \ | 173 V(kParseScopeError, "Parse/scope error") \ |
174 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 174 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
175 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 175 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
176 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 176 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
177 "Reference to a variable which requires dynamic lookup") \ | 177 "Reference to a variable which requires dynamic lookup") \ |
178 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 178 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
179 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 179 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
180 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 180 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
181 V(kRegisterWasClobbered, "Register was clobbered") \ | 181 V(kRegisterWasClobbered, "Register was clobbered") \ |
182 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 182 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
183 V(kRestParameter, "Rest parameters") \ | |
184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 183 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
185 V(kScriptContext, "Allocation of script context") \ | 184 V(kScriptContext, "Allocation of script context") \ |
186 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 185 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
187 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 186 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
188 V(kSpread, "Spread in array literal") \ | 187 V(kSpread, "Spread in array literal") \ |
189 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 188 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
190 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 189 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
191 V(kSuperReference, "Super reference") \ | 190 V(kSuperReference, "Super reference") \ |
192 V(kTheCurrentStackPointerIsBelowCsp, \ | 191 V(kTheCurrentStackPointerIsBelowCsp, \ |
193 "The current stack pointer is below csp") \ | 192 "The current stack pointer is below csp") \ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 }; | 292 }; |
294 #undef ERROR_MESSAGES_CONSTANTS | 293 #undef ERROR_MESSAGES_CONSTANTS |
295 | 294 |
296 | 295 |
297 const char* GetBailoutReason(BailoutReason reason); | 296 const char* GetBailoutReason(BailoutReason reason); |
298 | 297 |
299 } // namespace internal | 298 } // namespace internal |
300 } // namespace v8 | 299 } // namespace v8 |
301 | 300 |
302 #endif // V8_BAILOUT_REASON_H_ | 301 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |