| 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 22 matching lines...) Expand all Loading... |
| 33 V(kBadValueContextForArgumentsObjectValue, \ | 33 V(kBadValueContextForArgumentsObjectValue, \ |
| 34 "Bad value context for arguments object value") \ | 34 "Bad value context for arguments object value") \ |
| 35 V(kBadValueContextForArgumentsValue, \ | 35 V(kBadValueContextForArgumentsValue, \ |
| 36 "Bad value context for arguments value") \ | 36 "Bad value context for arguments value") \ |
| 37 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ | 37 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ |
| 38 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ | 38 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ |
| 39 V(kBinaryStubGenerateFloatingPointCode, \ | 39 V(kBinaryStubGenerateFloatingPointCode, \ |
| 40 "BinaryStub_GenerateFloatingPointCode") \ | 40 "BinaryStub_GenerateFloatingPointCode") \ |
| 41 V(kBothRegistersWereSmisInSelectNonSmi, \ | 41 V(kBothRegistersWereSmisInSelectNonSmi, \ |
| 42 "Both registers were smis in SelectNonSmi") \ | 42 "Both registers were smis in SelectNonSmi") \ |
| 43 V(kBuiltinFunctionCannotBeOptimized, "Builtin function cannot be optimized") \ |
| 43 V(kCallToAJavaScriptRuntimeFunction, \ | 44 V(kCallToAJavaScriptRuntimeFunction, \ |
| 44 "Call to a JavaScript runtime function") \ | 45 "Call to a JavaScript runtime function") \ |
| 45 V(kCannotTranslatePositionInChangedArea, \ | 46 V(kCannotTranslatePositionInChangedArea, \ |
| 46 "Cannot translate position in changed area") \ | 47 "Cannot translate position in changed area") \ |
| 47 V(kClassLiteral, "Class literal") \ | 48 V(kClassLiteral, "Class literal") \ |
| 48 V(kCodeGenerationFailed, "Code generation failed") \ | 49 V(kCodeGenerationFailed, "Code generation failed") \ |
| 49 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ | 50 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ |
| 50 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ | 51 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ |
| 51 V(kComputedPropertyName, "Computed property name") \ | 52 V(kComputedPropertyName, "Computed property name") \ |
| 52 V(kContextAllocatedArguments, "Context-allocated arguments") \ | 53 V(kContextAllocatedArguments, "Context-allocated arguments") \ |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage | 340 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage |
| 340 }; | 341 }; |
| 341 #undef ERROR_MESSAGES_CONSTANTS | 342 #undef ERROR_MESSAGES_CONSTANTS |
| 342 | 343 |
| 343 | 344 |
| 344 const char* GetBailoutReason(BailoutReason reason); | 345 const char* GetBailoutReason(BailoutReason reason); |
| 345 } | 346 } |
| 346 } // namespace v8::internal | 347 } // namespace v8::internal |
| 347 | 348 |
| 348 #endif // V8_BAILOUT_REASON_H_ | 349 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |