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 void ClearKeyedStoreICs(SharedFunctionInfo* shared); |
| 217 |
216 // The object that indicates an uninitialized cache. | 218 // The object that indicates an uninitialized cache. |
217 static inline Handle<Object> UninitializedSentinel(Isolate* isolate); | 219 static inline Handle<Object> UninitializedSentinel(Isolate* isolate); |
218 | 220 |
219 // The object that indicates a megamorphic state. | 221 // The object that indicates a megamorphic state. |
220 static inline Handle<Object> MegamorphicSentinel(Isolate* isolate); | 222 static inline Handle<Object> MegamorphicSentinel(Isolate* isolate); |
221 | 223 |
222 // The object that indicates a premonomorphic state. | 224 // The object that indicates a premonomorphic state. |
223 static inline Handle<Object> PremonomorphicSentinel(Isolate* isolate); | 225 static inline Handle<Object> PremonomorphicSentinel(Isolate* isolate); |
224 | 226 |
225 // A raw version of the uninitialized sentinel that's safe to read during | 227 // 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, | 490 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, |
489 CodeHandleList* handlers); | 491 CodeHandleList* handlers); |
490 | 492 |
491 InlineCacheState StateFromFeedback() const override; | 493 InlineCacheState StateFromFeedback() const override; |
492 Name* FindFirstName() const override; | 494 Name* FindFirstName() const override; |
493 }; | 495 }; |
494 } | 496 } |
495 } // namespace v8::internal | 497 } // namespace v8::internal |
496 | 498 |
497 #endif // V8_TRANSITIONS_H_ | 499 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |