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

Side by Side Diff: src/compiler/access-builder.h

Issue 1906823002: Move of the type feedback vector to the closure. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 years, 6 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/compiler.cc ('k') | src/compiler/access-builder.cc » ('j') | 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_COMPILER_ACCESS_BUILDER_H_ 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_
6 #define V8_COMPILER_ACCESS_BUILDER_H_ 6 #define V8_COMPILER_ACCESS_BUILDER_H_
7 7
8 #include "src/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // Provides access to FixedArray slots. 137 // Provides access to FixedArray slots.
138 static FieldAccess ForFixedArraySlot(size_t index); 138 static FieldAccess ForFixedArraySlot(size_t index);
139 139
140 // Provides access to Context slots. 140 // Provides access to Context slots.
141 static FieldAccess ForContextSlot(size_t index); 141 static FieldAccess ForContextSlot(size_t index);
142 142
143 // Provides access to PropertyCell::value() field. 143 // Provides access to PropertyCell::value() field.
144 static FieldAccess ForPropertyCellValue(); 144 static FieldAccess ForPropertyCellValue();
145 static FieldAccess ForPropertyCellValue(Type* type); 145 static FieldAccess ForPropertyCellValue(Type* type);
146 146
147 // Provides access to SharedFunctionInfo::feedback_vector() field.
148 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector();
149
150 // Provides access to FixedArray elements. 147 // Provides access to FixedArray elements.
151 static ElementAccess ForFixedArrayElement(); 148 static ElementAccess ForFixedArrayElement();
152 149
153 // Provides access to FixedDoubleArray elements. 150 // Provides access to FixedDoubleArray elements.
154 static ElementAccess ForFixedDoubleArrayElement(); 151 static ElementAccess ForFixedDoubleArrayElement();
155 152
156 // Provides access to Fixed{type}TypedArray and External{type}Array elements. 153 // Provides access to Fixed{type}TypedArray and External{type}Array elements.
157 static ElementAccess ForTypedArrayElement(ExternalArrayType type, 154 static ElementAccess ForTypedArrayElement(ExternalArrayType type,
158 bool is_external); 155 bool is_external);
159 156
160 private: 157 private:
161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 158 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
162 }; 159 };
163 160
164 } // namespace compiler 161 } // namespace compiler
165 } // namespace internal 162 } // namespace internal
166 } // namespace v8 163 } // namespace v8
167 164
168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 165 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698