Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: src/type-feedback-vector.h

Issue 1372003002: Removing the Class/ObjectLiteral::LayoutFeedbackSlots(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@vect
Patch Set: Fixed Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ast-numbering.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 FeedbackVectorICSlot AddLoadICSlots(int count) { 101 FeedbackVectorICSlot AddLoadICSlots(int count) {
102 return AddSlots(FeedbackVectorSlotKind::LOAD_IC, count); 102 return AddSlots(FeedbackVectorSlotKind::LOAD_IC, count);
103 } 103 }
104 104
105 FeedbackVectorICSlot AddKeyedLoadICSlot() { 105 FeedbackVectorICSlot AddKeyedLoadICSlot() {
106 return AddSlot(FeedbackVectorSlotKind::KEYED_LOAD_IC); 106 return AddSlot(FeedbackVectorSlotKind::KEYED_LOAD_IC);
107 } 107 }
108 108
109 FeedbackVectorICSlot AddStoreICSlots(int count) { 109 FeedbackVectorICSlot AddStoreICSlot() {
110 return AddSlots(FeedbackVectorSlotKind::STORE_IC, count); 110 return AddSlot(FeedbackVectorSlotKind::STORE_IC);
111 } 111 }
112 112
113 FeedbackVectorSlot AddStubSlot() { 113 FeedbackVectorSlot AddStubSlot() {
114 int slot = slots_; 114 int slot = slots_;
115 increase_slots(1); 115 increase_slots(1);
116 return FeedbackVectorSlot(slot); 116 return FeedbackVectorSlot(slot);
117 } 117 }
118 118
119 FeedbackVectorSlot AddStubSlots(int count) { 119 FeedbackVectorSlot AddStubSlots(int count) {
120 int slot = slots_; 120 int slot = slots_;
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; 494 KeyedAccessStoreMode GetKeyedAccessStoreMode() const;
495 IcCheckType GetKeyType() const; 495 IcCheckType GetKeyType() const;
496 496
497 InlineCacheState StateFromFeedback() const override; 497 InlineCacheState StateFromFeedback() const override;
498 Name* FindFirstName() const override; 498 Name* FindFirstName() const override;
499 }; 499 };
500 } 500 }
501 } // namespace v8::internal 501 } // namespace v8::internal
502 502
503 #endif // V8_TRANSITIONS_H_ 503 #endif // V8_TRANSITIONS_H_
OLDNEW
« no previous file with comments | « src/ast-numbering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698