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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 V(kGenerator, "Generator") \ | 109 V(kGenerator, "Generator") \ |
110 V(kGlobalFunctionsMustHaveInitialMap, \ | 110 V(kGlobalFunctionsMustHaveInitialMap, \ |
111 "Global functions must have initial map") \ | 111 "Global functions must have initial map") \ |
112 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 112 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
113 V(kHydrogenFilter, "Optimization disabled by filter") \ | 113 V(kHydrogenFilter, "Optimization disabled by filter") \ |
114 V(kImportDeclaration, "Import declaration") \ | 114 V(kImportDeclaration, "Import declaration") \ |
115 V(kImproperObjectOnPrototypeChainForStore, \ | 115 V(kImproperObjectOnPrototypeChainForStore, \ |
116 "Improper object on prototype chain for store") \ | 116 "Improper object on prototype chain for store") \ |
117 V(kIndexIsNegative, "Index is negative") \ | 117 V(kIndexIsNegative, "Index is negative") \ |
118 V(kIndexIsTooLarge, "Index is too large") \ | 118 V(kIndexIsTooLarge, "Index is too large") \ |
119 V(kInlinedRuntimeFunctionClassOf, "Inlined runtime function: ClassOf") \ | |
120 V(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ | |
121 "Inlined runtime function: FastOneByteArrayJoin") \ | |
122 V(kInlinedRuntimeFunctionGeneratorNext, \ | |
123 "Inlined runtime function: GeneratorNext") \ | |
124 V(kInlinedRuntimeFunctionGeneratorThrow, \ | |
125 "Inlined runtime function: GeneratorThrow") \ | |
126 V(kInlinedRuntimeFunctionGetFromCache, \ | 119 V(kInlinedRuntimeFunctionGetFromCache, \ |
127 "Inlined runtime function: GetFromCache") \ | 120 "Inlined runtime function: GetFromCache") \ |
128 V(kInlinedRuntimeFunctionIsNonNegativeSmi, \ | |
129 "Inlined runtime function: IsNonNegativeSmi") \ | |
130 V(kInlinedRuntimeFunctionIsStringWrapperSafeForDefaultValueOf, \ | |
131 "Inlined runtime function: IsStringWrapperSafeForDefaultValueOf") \ | |
132 V(kInliningBailedOut, "Inlining bailed out") \ | 121 V(kInliningBailedOut, "Inlining bailed out") \ |
133 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 122 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
134 "Input GPR is expected to have upper32 cleared") \ | 123 "Input GPR is expected to have upper32 cleared") \ |
135 V(kInputStringTooLong, "Input string too long") \ | 124 V(kInputStringTooLong, "Input string too long") \ |
136 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ | 125 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ |
137 "InstanceofStub unexpected call site cache (check)") \ | 126 "InstanceofStub unexpected call site cache (check)") \ |
138 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ | 127 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ |
139 "InstanceofStub unexpected call site cache (cmp 1)") \ | 128 "InstanceofStub unexpected call site cache (cmp 1)") \ |
140 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \ | 129 V(kInstanceofStubUnexpectedCallSiteCacheCmp2, \ |
141 "InstanceofStub unexpected call site cache (cmp 2)") \ | 130 "InstanceofStub unexpected call site cache (cmp 2)") \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 }; | 331 }; |
343 #undef ERROR_MESSAGES_CONSTANTS | 332 #undef ERROR_MESSAGES_CONSTANTS |
344 | 333 |
345 | 334 |
346 const char* GetBailoutReason(BailoutReason reason); | 335 const char* GetBailoutReason(BailoutReason reason); |
347 | 336 |
348 } // namespace internal | 337 } // namespace internal |
349 } // namespace v8 | 338 } // namespace v8 |
350 | 339 |
351 #endif // V8_BAILOUT_REASON_H_ | 340 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |