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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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") \ | 183 V(kRestParameter, "Rest parameters") \ |
184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 184 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
185 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 185 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
186 "Sloppy function expects JSReceiver as receiver.") \ | 186 "Sloppy function expects JSReceiver as receiver.") \ |
187 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 187 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
188 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 188 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 189 V(kSpreadCall, "Call with spread argument") \ |
189 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 190 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
190 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 191 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
191 V(kSuperReference, "Super reference") \ | 192 V(kSuperReference, "Super reference") \ |
192 V(kTailCall, "Tail call") \ | 193 V(kTailCall, "Tail call") \ |
193 V(kTheCurrentStackPointerIsBelowCsp, \ | 194 V(kTheCurrentStackPointerIsBelowCsp, \ |
194 "The current stack pointer is below csp") \ | 195 "The current stack pointer is below csp") \ |
195 V(kTheStackWasCorruptedByMacroAssemblerCall, \ | 196 V(kTheStackWasCorruptedByMacroAssemblerCall, \ |
196 "The stack was corrupted by MacroAssembler::Call()") \ | 197 "The stack was corrupted by MacroAssembler::Call()") \ |
197 V(kTooManyParametersLocals, "Too many parameters/locals") \ | 198 V(kTooManyParametersLocals, "Too many parameters/locals") \ |
198 V(kTooManyParameters, "Too many parameters") \ | 199 V(kTooManyParameters, "Too many parameters") \ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 }; | 275 }; |
275 #undef ERROR_MESSAGES_CONSTANTS | 276 #undef ERROR_MESSAGES_CONSTANTS |
276 | 277 |
277 | 278 |
278 const char* GetBailoutReason(BailoutReason reason); | 279 const char* GetBailoutReason(BailoutReason reason); |
279 | 280 |
280 } // namespace internal | 281 } // namespace internal |
281 } // namespace v8 | 282 } // namespace v8 |
282 | 283 |
283 #endif // V8_BAILOUT_REASON_H_ | 284 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |