| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 V(kUnexpectedFunctionIDForInvokeIntrinsic, \ | 235 V(kUnexpectedFunctionIDForInvokeIntrinsic, \ |
| 236 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \ | 236 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \ |
| 237 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ | 237 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ |
| 238 V(kUnexpectedSmi, "Unexpected smi value") \ | 238 V(kUnexpectedSmi, "Unexpected smi value") \ |
| 239 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \ | 239 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \ |
| 240 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \ | 240 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \ |
| 241 V(kUnexpectedStringType, "Unexpected string type") \ | 241 V(kUnexpectedStringType, "Unexpected string type") \ |
| 242 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ | 242 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ |
| 243 "Unexpected type for RegExp data, FixedArray expected") \ | 243 "Unexpected type for RegExp data, FixedArray expected") \ |
| 244 V(kUnexpectedValue, "Unexpected value") \ | 244 V(kUnexpectedValue, "Unexpected value") \ |
| 245 V(kUnsupportedConstCompoundAssignment, \ | |
| 246 "Unsupported const compound assignment") \ | |
| 247 V(kUnsupportedCountOperationWithConst, \ | |
| 248 "Unsupported count operation with const") \ | |
| 249 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ | 245 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ |
| 250 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ | 246 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ |
| 251 V(kUnsupportedLookupSlotInDeclaration, \ | 247 V(kUnsupportedLookupSlotInDeclaration, \ |
| 252 "Unsupported lookup slot in declaration") \ | 248 "Unsupported lookup slot in declaration") \ |
| 253 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ | 249 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ |
| 254 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ | 250 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ |
| 255 V(kUnsupportedPhiUseOfConstVariable, \ | 251 V(kUnsupportedPhiUseOfConstVariable, \ |
| 256 "Unsupported phi use of const or let variable") \ | 252 "Unsupported phi use of const or let variable") \ |
| 257 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ | 253 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ |
| 258 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ | 254 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 275 }; | 271 }; |
| 276 #undef ERROR_MESSAGES_CONSTANTS | 272 #undef ERROR_MESSAGES_CONSTANTS |
| 277 | 273 |
| 278 | 274 |
| 279 const char* GetBailoutReason(BailoutReason reason); | 275 const char* GetBailoutReason(BailoutReason reason); |
| 280 | 276 |
| 281 } // namespace internal | 277 } // namespace internal |
| 282 } // namespace v8 | 278 } // namespace v8 |
| 283 | 279 |
| 284 #endif // V8_BAILOUT_REASON_H_ | 280 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |