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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 177 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
178 V(kRestParameter, "Rest parameters") \ | 178 V(kRestParameter, "Rest parameters") \ |
179 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 179 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
180 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 180 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
181 "Sloppy function expects JSReceiver as receiver.") \ | 181 "Sloppy function expects JSReceiver as receiver.") \ |
182 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 182 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
183 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 183 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
184 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 184 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
185 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 185 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
186 V(kSuperReference, "Super reference") \ | 186 V(kSuperReference, "Super reference") \ |
| 187 V(kTailCall, "Tail call") \ |
187 V(kTheCurrentStackPointerIsBelowCsp, \ | 188 V(kTheCurrentStackPointerIsBelowCsp, \ |
188 "The current stack pointer is below csp") \ | 189 "The current stack pointer is below csp") \ |
189 V(kTheSourceAndDestinationAreTheSame, \ | 190 V(kTheSourceAndDestinationAreTheSame, \ |
190 "The source and destination are the same") \ | 191 "The source and destination are the same") \ |
191 V(kTheStackWasCorruptedByMacroAssemblerCall, \ | 192 V(kTheStackWasCorruptedByMacroAssemblerCall, \ |
192 "The stack was corrupted by MacroAssembler::Call()") \ | 193 "The stack was corrupted by MacroAssembler::Call()") \ |
193 V(kTooManyParametersLocals, "Too many parameters/locals") \ | 194 V(kTooManyParametersLocals, "Too many parameters/locals") \ |
194 V(kTooManyParameters, "Too many parameters") \ | 195 V(kTooManyParameters, "Too many parameters") \ |
195 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \ | 196 V(kTooManySpillSlotsNeededForOSR, "Too many spill slots needed for OSR") \ |
196 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \ | 197 V(kToOperand32UnsupportedImmediate, "ToOperand32 unsupported immediate.") \ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 }; | 273 }; |
273 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
274 | 275 |
275 | 276 |
276 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
277 | 278 |
278 } // namespace internal | 279 } // namespace internal |
279 } // namespace v8 | 280 } // namespace v8 |
280 | 281 |
281 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |