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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 } | 483 } |
484 | 484 |
485 void Clear(Code* host); | 485 void Clear(Code* host); |
486 | 486 |
487 // name can be a null handle for element loads. | 487 // name can be a null handle for element loads. |
488 void ConfigureMonomorphic(Handle<Name> name, Handle<Map> receiver_map, | 488 void ConfigureMonomorphic(Handle<Name> name, Handle<Map> receiver_map, |
489 Handle<Code> handler); | 489 Handle<Code> handler); |
490 // name can be null. | 490 // name can be null. |
491 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, | 491 void ConfigurePolymorphic(Handle<Name> name, MapHandleList* maps, |
492 CodeHandleList* handlers); | 492 CodeHandleList* handlers); |
| 493 void ConfigurePolymorphic(MapHandleList* maps, |
| 494 MapHandleList* transitioned_maps, |
| 495 CodeHandleList* handlers); |
| 496 |
| 497 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; |
| 498 IcCheckType GetKeyType() const; |
493 | 499 |
494 InlineCacheState StateFromFeedback() const override; | 500 InlineCacheState StateFromFeedback() const override; |
495 Name* FindFirstName() const override; | 501 Name* FindFirstName() const override; |
496 }; | 502 }; |
497 } | 503 } |
498 } // namespace v8::internal | 504 } // namespace v8::internal |
499 | 505 |
500 #endif // V8_TRANSITIONS_H_ | 506 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |