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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 203 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
204 V(kRegisterWasClobbered, "Register was clobbered") \ | 204 V(kRegisterWasClobbered, "Register was clobbered") \ |
205 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 205 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
206 V(kRestParameter, "Rest parameters") \ | 206 V(kRestParameter, "Rest parameters") \ |
207 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 207 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
208 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ | 208 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ |
209 V(kScopedBlock, "ScopedBlock") \ | 209 V(kScopedBlock, "ScopedBlock") \ |
210 V(kScriptContext, "Allocation of script context") \ | 210 V(kScriptContext, "Allocation of script context") \ |
211 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 211 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
212 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 212 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 213 V(kSpread, "Spread in array literal") \ |
213 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 214 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
214 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 215 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
215 V(kSuperReference, "Super reference") \ | 216 V(kSuperReference, "Super reference") \ |
216 V(kTheCurrentStackPointerIsBelowCsp, \ | 217 V(kTheCurrentStackPointerIsBelowCsp, \ |
217 "The current stack pointer is below csp") \ | 218 "The current stack pointer is below csp") \ |
218 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ | 219 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ |
219 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ | 220 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ |
220 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ | 221 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ |
221 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ | 222 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ |
222 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ | 223 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 }; | 327 }; |
327 #undef ERROR_MESSAGES_CONSTANTS | 328 #undef ERROR_MESSAGES_CONSTANTS |
328 | 329 |
329 | 330 |
330 const char* GetBailoutReason(BailoutReason reason); | 331 const char* GetBailoutReason(BailoutReason reason); |
331 | 332 |
332 } // namespace internal | 333 } // namespace internal |
333 } // namespace v8 | 334 } // namespace v8 |
334 | 335 |
335 #endif // V8_BAILOUT_REASON_H_ | 336 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |