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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "src/elements-kind.h" | 10 #include "src/elements-kind.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 static ElementAccess ForFixedArrayElement(); | 237 static ElementAccess ForFixedArrayElement(); |
238 static ElementAccess ForFixedArrayElement(ElementsKind kind); | 238 static ElementAccess ForFixedArrayElement(ElementsKind kind); |
239 | 239 |
240 // Provides access to FixedDoubleArray elements. | 240 // Provides access to FixedDoubleArray elements. |
241 static ElementAccess ForFixedDoubleArrayElement(); | 241 static ElementAccess ForFixedDoubleArrayElement(); |
242 | 242 |
243 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 243 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
244 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 244 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
245 bool is_external); | 245 bool is_external); |
246 | 246 |
247 // Provides access to HashTable fields. | |
248 static FieldAccess ForHashTableBaseNumberOfElements(); | |
249 static FieldAccess ForHashTableBaseNumberOfDeletedElement(); | |
250 static FieldAccess ForHashTableBaseCapacity(); | |
251 | |
252 // Provides access to Dictionary fields. | |
253 static FieldAccess ForDictionaryMaxNumberKey(); | |
254 static FieldAccess ForNextEnumerationIndex(); | |
255 | |
256 private: | 247 private: |
257 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 248 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
258 }; | 249 }; |
259 | 250 |
260 } // namespace compiler | 251 } // namespace compiler |
261 } // namespace internal | 252 } // namespace internal |
262 } // namespace v8 | 253 } // namespace v8 |
263 | 254 |
264 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 255 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |