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 23 matching lines...) Expand all Loading... |
34 // Provides access to JSFunction::shared() field. | 34 // Provides access to JSFunction::shared() field. |
35 static FieldAccess ForJSFunctionSharedFunctionInfo(); | 35 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
36 | 36 |
37 // Provides access to JSArrayBuffer::backing_store() field. | 37 // Provides access to JSArrayBuffer::backing_store() field. |
38 static FieldAccess ForJSArrayBufferBackingStore(); | 38 static FieldAccess ForJSArrayBufferBackingStore(); |
39 | 39 |
40 // Provides access to JSDate fields. | 40 // Provides access to JSDate fields. |
41 static FieldAccess ForJSDateField(JSDate::FieldIndex index); | 41 static FieldAccess ForJSDateField(JSDate::FieldIndex index); |
42 | 42 |
43 // Provides access to FixedArray::length() field. | 43 // Provides access to FixedArray::length() field. |
44 static FieldAccess ForFixedArrayLength(Zone* zone); | 44 static FieldAccess ForFixedArrayLength(); |
45 | 45 |
46 // Provides access to DescriptorArray::enum_cache() field. | 46 // Provides access to DescriptorArray::enum_cache() field. |
47 static FieldAccess ForDescriptorArrayEnumCache(); | 47 static FieldAccess ForDescriptorArrayEnumCache(); |
48 | 48 |
49 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. | 49 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. |
50 static FieldAccess ForDescriptorArrayEnumCacheBridgeCache(); | 50 static FieldAccess ForDescriptorArrayEnumCacheBridgeCache(); |
51 | 51 |
52 // Provides access to Map::bit_field3() field. | 52 // Provides access to Map::bit_field3() field. |
53 static FieldAccess ForMapBitField3(Zone* zone); | 53 static FieldAccess ForMapBitField3(); |
54 | 54 |
55 // Provides access to Map::descriptors() field. | 55 // Provides access to Map::descriptors() field. |
56 static FieldAccess ForMapDescriptors(); | 56 static FieldAccess ForMapDescriptors(); |
57 | 57 |
58 // Provides access to Map::instance_type() field. | 58 // Provides access to Map::instance_type() field. |
59 static FieldAccess ForMapInstanceType(); | 59 static FieldAccess ForMapInstanceType(); |
60 | 60 |
61 // Provides access to String::length() field. | 61 // Provides access to String::length() field. |
62 static FieldAccess ForStringLength(Zone* zone); | 62 static FieldAccess ForStringLength(); |
63 | 63 |
64 // Provides access to GlobalObject::global_proxy() field. | 64 // Provides access to GlobalObject::global_proxy() field. |
65 static FieldAccess ForGlobalObjectGlobalProxy(); | 65 static FieldAccess ForGlobalObjectGlobalProxy(); |
66 | 66 |
67 // Provides access to GlobalObject::native_context() field. | 67 // Provides access to GlobalObject::native_context() field. |
68 static FieldAccess ForGlobalObjectNativeContext(); | 68 static FieldAccess ForGlobalObjectNativeContext(); |
69 | 69 |
70 // Provides access to JSValue::value() field. | 70 // Provides access to JSValue::value() field. |
71 static FieldAccess ForValue(); | 71 static FieldAccess ForValue(); |
72 | 72 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 private: | 115 private: |
116 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 116 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
117 }; | 117 }; |
118 | 118 |
119 } // namespace compiler | 119 } // namespace compiler |
120 } // namespace internal | 120 } // namespace internal |
121 } // namespace v8 | 121 } // namespace v8 |
122 | 122 |
123 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 123 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |