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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 217 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
218 V(kRegisterWasClobbered, "Register was clobbered") \ | 218 V(kRegisterWasClobbered, "Register was clobbered") \ |
219 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 219 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
220 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 220 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
221 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ | 221 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ |
222 V(kScopedBlock, "ScopedBlock") \ | 222 V(kScopedBlock, "ScopedBlock") \ |
223 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 223 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
224 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 224 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
225 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 225 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
226 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 226 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 227 V(kTemplateLiteral, "Template Literal") \ |
227 V(kTheCurrentStackPointerIsBelowCsp, \ | 228 V(kTheCurrentStackPointerIsBelowCsp, \ |
228 "The current stack pointer is below csp") \ | 229 "The current stack pointer is below csp") \ |
229 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ | 230 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ |
230 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ | 231 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ |
231 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ | 232 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ |
232 "The instruction to patch should be a load from the constant pool") \ | 233 "The instruction to patch should be a load from the constant pool") \ |
233 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ | 234 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ |
234 "The instruction to patch should be a ldr literal") \ | 235 "The instruction to patch should be a ldr literal") \ |
235 V(kTheInstructionToPatchShouldBeALui, \ | 236 V(kTheInstructionToPatchShouldBeALui, \ |
236 "The instruction to patch should be a lui") \ | 237 "The instruction to patch should be a lui") \ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage | 331 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage |
331 }; | 332 }; |
332 #undef ERROR_MESSAGES_CONSTANTS | 333 #undef ERROR_MESSAGES_CONSTANTS |
333 | 334 |
334 | 335 |
335 const char* GetBailoutReason(BailoutReason reason); | 336 const char* GetBailoutReason(BailoutReason reason); |
336 } | 337 } |
337 } // namespace v8::internal | 338 } // namespace v8::internal |
338 | 339 |
339 #endif // V8_BAILOUT_REASON_H_ | 340 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |