| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 V(kUnexpectedStringFunction, "Unexpected String function") \ | 303 V(kUnexpectedStringFunction, "Unexpected String function") \ |
| 304 V(kUnexpectedStringType, "Unexpected string type") \ | 304 V(kUnexpectedStringType, "Unexpected string type") \ |
| 305 V(kUnexpectedStringWrapperInstanceSize, \ | 305 V(kUnexpectedStringWrapperInstanceSize, \ |
| 306 "Unexpected string wrapper instance size") \ | 306 "Unexpected string wrapper instance size") \ |
| 307 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ | 307 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ |
| 308 "Unexpected type for RegExp data, FixedArray expected") \ | 308 "Unexpected type for RegExp data, FixedArray expected") \ |
| 309 V(kUnexpectedValue, "Unexpected value") \ | 309 V(kUnexpectedValue, "Unexpected value") \ |
| 310 V(kUnexpectedUnusedPropertiesOfStringWrapper, \ | 310 V(kUnexpectedUnusedPropertiesOfStringWrapper, \ |
| 311 "Unexpected unused properties of string wrapper") \ | 311 "Unexpected unused properties of string wrapper") \ |
| 312 V(kUnimplemented, "unimplemented") \ | 312 V(kUnimplemented, "unimplemented") \ |
| 313 V(kUninitializedKSmiConstantRegister, "Uninitialized kSmiConstantRegister") \ | |
| 314 V(kUnsupportedConstCompoundAssignment, \ | 313 V(kUnsupportedConstCompoundAssignment, \ |
| 315 "Unsupported const compound assignment") \ | 314 "Unsupported const compound assignment") \ |
| 316 V(kUnsupportedCountOperationWithConst, \ | 315 V(kUnsupportedCountOperationWithConst, \ |
| 317 "Unsupported count operation with const") \ | 316 "Unsupported count operation with const") \ |
| 318 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ | 317 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ |
| 319 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ | 318 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ |
| 320 V(kUnsupportedLookupSlotInDeclaration, \ | 319 V(kUnsupportedLookupSlotInDeclaration, \ |
| 321 "Unsupported lookup slot in declaration") \ | 320 "Unsupported lookup slot in declaration") \ |
| 322 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ | 321 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ |
| 323 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ | 322 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 338 | 337 |
| 339 | 338 |
| 340 #define ERROR_MESSAGES_CONSTANTS(C, T) C, | 339 #define ERROR_MESSAGES_CONSTANTS(C, T) C, |
| 341 enum BailoutReason { | 340 enum BailoutReason { |
| 342 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage | 341 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage |
| 343 }; | 342 }; |
| 344 #undef ERROR_MESSAGES_CONSTANTS | 343 #undef ERROR_MESSAGES_CONSTANTS |
| 345 | 344 |
| 346 | 345 |
| 347 const char* GetBailoutReason(BailoutReason reason); | 346 const char* GetBailoutReason(BailoutReason reason); |
| 348 } | 347 |
| 349 } // namespace v8::internal | 348 } // namespace internal |
| 349 } // namespace v8 |
| 350 | 350 |
| 351 #endif // V8_BAILOUT_REASON_H_ | 351 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |