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_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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // Provides access to FixedArray elements. | 135 // Provides access to FixedArray elements. |
136 static ElementAccess ForFixedArrayElement(); | 136 static ElementAccess ForFixedArrayElement(); |
137 | 137 |
138 // Provides access to FixedDoubleArray elements. | 138 // Provides access to FixedDoubleArray elements. |
139 static ElementAccess ForFixedDoubleArrayElement(); | 139 static ElementAccess ForFixedDoubleArrayElement(); |
140 | 140 |
141 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 141 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
142 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 142 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
143 bool is_external); | 143 bool is_external); |
144 | 144 |
145 // =========================================================================== | |
146 // Access to global per-isolate variables (based on external reference). | |
147 | |
148 // Provides access to the backing store of a StatsCounter. | |
149 static FieldAccess ForStatsCounter(); | |
150 | |
151 private: | 145 private: |
152 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 146 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
153 }; | 147 }; |
154 | 148 |
155 } // namespace compiler | 149 } // namespace compiler |
156 } // namespace internal | 150 } // namespace internal |
157 } // namespace v8 | 151 } // namespace v8 |
158 | 152 |
159 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 153 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |