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 29 matching lines...) Expand all Loading... |
40 V(kBothRegistersWereSmisInSelectNonSmi, \ | 40 V(kBothRegistersWereSmisInSelectNonSmi, \ |
41 "Both registers were smis in SelectNonSmi") \ | 41 "Both registers were smis in SelectNonSmi") \ |
42 V(kCallToAJavaScriptRuntimeFunction, \ | 42 V(kCallToAJavaScriptRuntimeFunction, \ |
43 "Call to a JavaScript runtime function") \ | 43 "Call to a JavaScript runtime function") \ |
44 V(kCannotTranslatePositionInChangedArea, \ | 44 V(kCannotTranslatePositionInChangedArea, \ |
45 "Cannot translate position in changed area") \ | 45 "Cannot translate position in changed area") \ |
46 V(kClassLiteral, "Class literal") \ | 46 V(kClassLiteral, "Class literal") \ |
47 V(kCodeGenerationFailed, "Code generation failed") \ | 47 V(kCodeGenerationFailed, "Code generation failed") \ |
48 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ | 48 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ |
49 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ | 49 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ |
| 50 V(kComputedPropertyName, "Computed property name") \ |
50 V(kContextAllocatedArguments, "Context-allocated arguments") \ | 51 V(kContextAllocatedArguments, "Context-allocated arguments") \ |
51 V(kCopyBuffersOverlap, "Copy buffers overlap") \ | 52 V(kCopyBuffersOverlap, "Copy buffers overlap") \ |
52 V(kCouldNotGenerateZero, "Could not generate +0.0") \ | 53 V(kCouldNotGenerateZero, "Could not generate +0.0") \ |
53 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ | 54 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ |
54 V(kDebuggerHasBreakPoints, "Debugger has break points") \ | 55 V(kDebuggerHasBreakPoints, "Debugger has break points") \ |
55 V(kDebuggerStatement, "DebuggerStatement") \ | 56 V(kDebuggerStatement, "DebuggerStatement") \ |
56 V(kDeclarationInCatchContext, "Declaration in catch context") \ | 57 V(kDeclarationInCatchContext, "Declaration in catch context") \ |
57 V(kDeclarationInWithContext, "Declaration in with context") \ | 58 V(kDeclarationInWithContext, "Declaration in with context") \ |
58 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ | 59 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ |
59 V(kDeleteWithGlobalVariable, "Delete with global variable") \ | 60 V(kDeleteWithGlobalVariable, "Delete with global variable") \ |
(...skipping 270 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 |