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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 V(kGenerator, "Generator") \ | 94 V(kGenerator, "Generator") \ |
95 V(kGlobalFunctionsMustHaveInitialMap, \ | 95 V(kGlobalFunctionsMustHaveInitialMap, \ |
96 "Global functions must have initial map") \ | 96 "Global functions must have initial map") \ |
97 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 97 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
98 V(kHydrogenFilter, "Optimization disabled by filter") \ | 98 V(kHydrogenFilter, "Optimization disabled by filter") \ |
99 V(kImportDeclaration, "Import declaration") \ | 99 V(kImportDeclaration, "Import declaration") \ |
100 V(kIndexIsNegative, "Index is negative") \ | 100 V(kIndexIsNegative, "Index is negative") \ |
101 V(kIndexIsTooLarge, "Index is too large") \ | 101 V(kIndexIsTooLarge, "Index is too large") \ |
102 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ | 102 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ |
103 "Inlined runtime function: FastOneByteArrayJoin") \ | 103 "Inlined runtime function: FastOneByteArrayJoin") \ |
104 V(kInlinedRuntimeFunctionGetFromCache, \ | |
105 "Inlined runtime function: GetFromCache") \ | |
106 V(kInliningBailedOut, "Inlining bailed out") \ | 104 V(kInliningBailedOut, "Inlining bailed out") \ |
107 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 105 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
108 "Input GPR is expected to have upper32 cleared") \ | 106 "Input GPR is expected to have upper32 cleared") \ |
109 V(kInputStringTooLong, "Input string too long") \ | 107 V(kInputStringTooLong, "Input string too long") \ |
110 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ | 108 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ |
111 "InstanceofStub unexpected call site cache (check)") \ | 109 "InstanceofStub unexpected call site cache (check)") \ |
112 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ | 110 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ |
113 "InstanceofStub unexpected call site cache (cmp 1)") \ | 111 "InstanceofStub unexpected call site cache (cmp 1)") \ |
114 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \ | 112 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \ |
115 "InstanceofStub unexpected call site cache (cmp 2)") \ | 113 "InstanceofStub unexpected call site cache (cmp 2)") \ |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 }; | 295 }; |
298 #undef ERROR_MESSAGES_CONSTANTS | 296 #undef ERROR_MESSAGES_CONSTANTS |
299 | 297 |
300 | 298 |
301 const char* GetBailoutReason(BailoutReason reason); | 299 const char* GetBailoutReason(BailoutReason reason); |
302 | 300 |
303 } // namespace internal | 301 } // namespace internal |
304 } // namespace v8 | 302 } // namespace v8 |
305 | 303 |
306 #endif // V8_BAILOUT_REASON_H_ | 304 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |