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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \ | 87 V(kExpectedFixedArrayInRegisterR2, "Expected fixed array in register r2") \ |
88 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \ | 88 V(kExpectedFixedArrayInRegisterRbx, "Expected fixed array in register rbx") \ |
89 V(kExpectedNewSpaceObject, "Expected new space object") \ | 89 V(kExpectedNewSpaceObject, "Expected new space object") \ |
90 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \ | 90 V(kExpectedSmiOrHeapNumber, "Expected smi or HeapNumber") \ |
91 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 91 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
92 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 92 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
93 V(kExportDeclaration, "Export declaration") \ | 93 V(kExportDeclaration, "Export declaration") \ |
94 V(kExternalStringExpectedButNotFound, \ | 94 V(kExternalStringExpectedButNotFound, \ |
95 "External string expected, but not found") \ | 95 "External string expected, but not found") \ |
96 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \ | 96 V(kFailedBailedOutLastTime, "Failed/bailed out last time") \ |
97 V(kForInStatementIsNotFastCase, "ForInStatement is not fast case") \ | |
98 V(kForInStatementOptimizationIsDisabled, \ | 97 V(kForInStatementOptimizationIsDisabled, \ |
99 "ForInStatement optimization is disabled") \ | 98 "ForInStatement optimization is disabled") \ |
100 V(kForInStatementWithNonLocalEachVariable, \ | 99 V(kForInStatementWithNonLocalEachVariable, \ |
101 "ForInStatement with non-local each variable") \ | 100 "ForInStatement with non-local each variable") \ |
102 V(kForOfStatement, "ForOfStatement") \ | 101 V(kForOfStatement, "ForOfStatement") \ |
103 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ | 102 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ |
104 V(kFunctionCallsEval, "Function calls eval") \ | 103 V(kFunctionCallsEval, "Function calls eval") \ |
105 V(kFunctionIsAGenerator, "Function is a generator") \ | 104 V(kFunctionIsAGenerator, "Function is a generator") \ |
106 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ | 105 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ |
107 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 106 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 }; | 333 }; |
335 #undef ERROR_MESSAGES_CONSTANTS | 334 #undef ERROR_MESSAGES_CONSTANTS |
336 | 335 |
337 | 336 |
338 const char* GetBailoutReason(BailoutReason reason); | 337 const char* GetBailoutReason(BailoutReason reason); |
339 | 338 |
340 } // namespace internal | 339 } // namespace internal |
341 } // namespace v8 | 340 } // namespace v8 |
342 | 341 |
343 #endif // V8_BAILOUT_REASON_H_ | 342 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |