| 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(kInlinedRuntimeFunctionFastOneByteArrayJoin, \ |
| 120 "Inlined runtime function: FastOneByteArrayJoin") \ |
| 119 V(kInlinedRuntimeFunctionGetFromCache, \ | 121 V(kInlinedRuntimeFunctionGetFromCache, \ |
| 120 "Inlined runtime function: GetFromCache") \ | 122 "Inlined runtime function: GetFromCache") \ |
| 121 V(kInliningBailedOut, "Inlining bailed out") \ | 123 V(kInliningBailedOut, "Inlining bailed out") \ |
| 122 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ | 124 V(kInputGPRIsExpectedToHaveUpper32Cleared, \ |
| 123 "Input GPR is expected to have upper32 cleared") \ | 125 "Input GPR is expected to have upper32 cleared") \ |
| 124 V(kInputStringTooLong, "Input string too long") \ | 126 V(kInputStringTooLong, "Input string too long") \ |
| 125 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ | 127 V(kInstanceofStubUnexpectedCallSiteCacheCheck, \ |
| 126 "InstanceofStub unexpected call site cache (check)") \ | 128 "InstanceofStub unexpected call site cache (check)") \ |
| 127 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ | 129 V(kInstanceofStubUnexpectedCallSiteCacheCmp1, \ |
| 128 "InstanceofStub unexpected call site cache (cmp 1)") \ | 130 "InstanceofStub unexpected call site cache (cmp 1)") \ |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 }; | 333 }; |
| 332 #undef ERROR_MESSAGES_CONSTANTS | 334 #undef ERROR_MESSAGES_CONSTANTS |
| 333 | 335 |
| 334 | 336 |
| 335 const char* GetBailoutReason(BailoutReason reason); | 337 const char* GetBailoutReason(BailoutReason reason); |
| 336 | 338 |
| 337 } // namespace internal | 339 } // namespace internal |
| 338 } // namespace v8 | 340 } // namespace v8 |
| 339 | 341 |
| 340 #endif // V8_BAILOUT_REASON_H_ | 342 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |