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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 75 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
76 V(kExportDeclaration, "Export declaration") \ | 76 V(kExportDeclaration, "Export declaration") \ |
77 V(kExternalStringExpectedButNotFound, \ | 77 V(kExternalStringExpectedButNotFound, \ |
78 "External string expected, but not found") \ | 78 "External string expected, but not found") \ |
79 V(kForInStatementWithNonLocalEachVariable, \ | 79 V(kForInStatementWithNonLocalEachVariable, \ |
80 "ForInStatement with non-local each variable") \ | 80 "ForInStatement with non-local each variable") \ |
81 V(kForOfStatement, "ForOfStatement") \ | 81 V(kForOfStatement, "ForOfStatement") \ |
82 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ | 82 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ |
83 V(kFunctionBeingDebugged, "Function is being debugged") \ | 83 V(kFunctionBeingDebugged, "Function is being debugged") \ |
84 V(kFunctionCallsEval, "Function calls eval") \ | 84 V(kFunctionCallsEval, "Function calls eval") \ |
85 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ | |
86 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 85 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
87 "The function_data field should be a BytecodeArray on interpreter entry") \ | 86 "The function_data field should be a BytecodeArray on interpreter entry") \ |
88 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 87 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
89 V(kGeneratorFailedToResume, "Generator failed to resume") \ | 88 V(kGeneratorFailedToResume, "Generator failed to resume") \ |
90 V(kGeneratorResumeMethod, "Generator resume method is being called") \ | 89 V(kGeneratorResumeMethod, "Generator resume method is being called") \ |
91 V(kGenerator, "Generator") \ | 90 V(kGenerator, "Generator") \ |
92 V(kGlobalFunctionsMustHaveInitialMap, \ | 91 V(kGlobalFunctionsMustHaveInitialMap, \ |
93 "Global functions must have initial map") \ | 92 "Global functions must have initial map") \ |
94 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 93 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
95 V(kHydrogenFilter, "Optimization disabled by filter") \ | 94 V(kHydrogenFilter, "Optimization disabled by filter") \ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 }; | 276 }; |
278 #undef ERROR_MESSAGES_CONSTANTS | 277 #undef ERROR_MESSAGES_CONSTANTS |
279 | 278 |
280 | 279 |
281 const char* GetBailoutReason(BailoutReason reason); | 280 const char* GetBailoutReason(BailoutReason reason); |
282 | 281 |
283 } // namespace internal | 282 } // namespace internal |
284 } // namespace v8 | 283 } // namespace v8 |
285 | 284 |
286 #endif // V8_BAILOUT_REASON_H_ | 285 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |