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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 190 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
191 V(kSuperReference, "Super reference") \ | 191 V(kSuperReference, "Super reference") \ |
192 V(kTheCurrentStackPointerIsBelowCsp, \ | 192 V(kTheCurrentStackPointerIsBelowCsp, \ |
193 "The current stack pointer is below csp") \ | 193 "The current stack pointer is below csp") \ |
194 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ | 194 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ |
195 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ | 195 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ |
196 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ | 196 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ |
197 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ | 197 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ |
198 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ | 198 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ |
199 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \ | 199 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \ |
200 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ | |
201 "The instruction to patch should be a load from the constant pool") \ | |
202 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ | 200 V(kTheInstructionToPatchShouldBeAnLdrLiteral, \ |
203 "The instruction to patch should be a ldr literal") \ | 201 "The instruction to patch should be a ldr literal") \ |
204 V(kTheInstructionToPatchShouldBeALis, \ | 202 V(kTheInstructionToPatchShouldBeALis, \ |
205 "The instruction to patch should be a lis") \ | 203 "The instruction to patch should be a lis") \ |
206 V(kTheInstructionToPatchShouldBeALui, \ | 204 V(kTheInstructionToPatchShouldBeALui, \ |
207 "The instruction to patch should be a lui") \ | 205 "The instruction to patch should be a lui") \ |
208 V(kTheInstructionToPatchShouldBeAnOri, \ | 206 V(kTheInstructionToPatchShouldBeAnOri, \ |
209 "The instruction to patch should be an ori") \ | 207 "The instruction to patch should be an ori") \ |
210 V(kTheSourceAndDestinationAreTheSame, \ | 208 V(kTheSourceAndDestinationAreTheSame, \ |
211 "The source and destination are the same") \ | 209 "The source and destination are the same") \ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 }; | 293 }; |
296 #undef ERROR_MESSAGES_CONSTANTS | 294 #undef ERROR_MESSAGES_CONSTANTS |
297 | 295 |
298 | 296 |
299 const char* GetBailoutReason(BailoutReason reason); | 297 const char* GetBailoutReason(BailoutReason reason); |
300 | 298 |
301 } // namespace internal | 299 } // namespace internal |
302 } // namespace v8 | 300 } // namespace v8 |
303 | 301 |
304 #endif // V8_BAILOUT_REASON_H_ | 302 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |