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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 // Provides access to JSArrayBuffer::backing_store() field. | 31 // Provides access to JSArrayBuffer::backing_store() field. |
32 static FieldAccess ForJSArrayBufferBackingStore(); | 32 static FieldAccess ForJSArrayBufferBackingStore(); |
33 | 33 |
34 // Provides access to FixedArray::length() field. | 34 // Provides access to FixedArray::length() field. |
35 static FieldAccess ForFixedArrayLength(); | 35 static FieldAccess ForFixedArrayLength(); |
36 | 36 |
37 // Provides access to ExternalArray::external_pointer() field. | 37 // Provides access to ExternalArray::external_pointer() field. |
38 static FieldAccess ForExternalArrayPointer(); | 38 static FieldAccess ForExternalArrayPointer(); |
39 | 39 |
| 40 // Provides access to DescriptorArray::enum_cache() field. |
| 41 static FieldAccess ForDescriptorArrayEnumCache(); |
| 42 |
| 43 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. |
| 44 static FieldAccess ForDescriptorArrayEnumCacheBridgeCache(); |
| 45 |
| 46 // Provides access to Map::bit_field3() field. |
| 47 static FieldAccess ForMapBitField3(); |
| 48 |
| 49 // Provides access to Map::descriptors() field. |
| 50 static FieldAccess ForMapDescriptors(); |
| 51 |
40 // Provides access to Map::instance_type() field. | 52 // Provides access to Map::instance_type() field. |
41 static FieldAccess ForMapInstanceType(); | 53 static FieldAccess ForMapInstanceType(); |
42 | 54 |
43 // Provides access to String::length() field. | 55 // Provides access to String::length() field. |
44 static FieldAccess ForStringLength(Zone* zone); | 56 static FieldAccess ForStringLength(Zone* zone); |
45 | 57 |
46 // Provides access to JSValue::value() field. | 58 // Provides access to JSValue::value() field. |
47 static FieldAccess ForValue(); | 59 static FieldAccess ForValue(); |
48 | 60 |
49 // Provides access Context slots. | 61 // Provides access Context slots. |
(...skipping 23 matching lines...) Expand all Loading... |
73 | 85 |
74 private: | 86 private: |
75 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 87 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
76 }; | 88 }; |
77 | 89 |
78 } // namespace compiler | 90 } // namespace compiler |
79 } // namespace internal | 91 } // namespace internal |
80 } // namespace v8 | 92 } // namespace v8 |
81 | 93 |
82 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 94 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |