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_TYPE_FEEDBACK_VECTOR_H_ | 5 #ifndef V8_TYPE_FEEDBACK_VECTOR_H_ |
6 #define V8_TYPE_FEEDBACK_VECTOR_H_ | 6 #define V8_TYPE_FEEDBACK_VECTOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/checks.h" | 10 #include "src/checks.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 ClearSlotsImpl(shared, false); | 206 ClearSlotsImpl(shared, false); |
207 } | 207 } |
208 | 208 |
209 void ClearICSlots(SharedFunctionInfo* shared) { | 209 void ClearICSlots(SharedFunctionInfo* shared) { |
210 ClearICSlotsImpl(shared, true); | 210 ClearICSlotsImpl(shared, true); |
211 } | 211 } |
212 void ClearICSlotsAtGCTime(SharedFunctionInfo* shared) { | 212 void ClearICSlotsAtGCTime(SharedFunctionInfo* shared) { |
213 ClearICSlotsImpl(shared, false); | 213 ClearICSlotsImpl(shared, false); |
214 } | 214 } |
215 | 215 |
| 216 static void ClearAllKeyedStoreICs(Isolate* isolate); |
| 217 void ClearKeyedStoreICs(SharedFunctionInfo* shared); |
| 218 |
216 // The object that indicates an uninitialized cache. | 219 // The object that indicates an uninitialized cache. |
217 static inline Handle<Object> UninitializedSentinel(Isolate* isolate); | 220 static inline Handle<Object> UninitializedSentinel(Isolate* isolate); |
218 | 221 |
219 // The object that indicates a megamorphic state. | 222 // The object that indicates a megamorphic state. |
220 static inline Handle<Object> MegamorphicSentinel(Isolate* isolate); | 223 static inline Handle<Object> MegamorphicSentinel(Isolate* isolate); |
221 | 224 |
222 // The object that indicates a premonomorphic state. | 225 // The object that indicates a premonomorphic state. |
223 static inline Handle<Object> PremonomorphicSentinel(Isolate* isolate); | 226 static inline Handle<Object> PremonomorphicSentinel(Isolate* isolate); |
224 | 227 |
225 // A raw version of the uninitialized sentinel that's safe to read during | 228 // A raw version of the uninitialized sentinel that's safe to read during |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, | 491 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, |
489 CodeHandleList* handlers); | 492 CodeHandleList* handlers); |
490 | 493 |
491 InlineCacheState StateFromFeedback() const override; | 494 InlineCacheState StateFromFeedback() const override; |
492 Name* FindFirstName() const override; | 495 Name* FindFirstName() const override; |
493 }; | 496 }; |
494 } | 497 } |
495 } // namespace v8::internal | 498 } // namespace v8::internal |
496 | 499 |
497 #endif // V8_TRANSITIONS_H_ | 500 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |