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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // Provides access to JSFunction::context() field. | 37 // Provides access to JSFunction::context() field. |
38 static FieldAccess ForJSFunctionContext(); | 38 static FieldAccess ForJSFunctionContext(); |
39 | 39 |
40 // Provides access to JSFunction::shared() field. | 40 // Provides access to JSFunction::shared() field. |
41 static FieldAccess ForJSFunctionSharedFunctionInfo(); | 41 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
42 | 42 |
43 // Provides access to JSArrayBuffer::backing_store() field. | 43 // Provides access to JSArrayBuffer::backing_store() field. |
44 static FieldAccess ForJSArrayBufferBackingStore(); | 44 static FieldAccess ForJSArrayBufferBackingStore(); |
45 | 45 |
| 46 // Provides access to JSArrayBuffer::bit_field() field. |
| 47 static FieldAccess ForJSArrayBufferBitField(); |
| 48 |
| 49 // Provides access to JSArrayBufferView::buffer() field. |
| 50 static FieldAccess ForJSArrayBufferViewBuffer(); |
| 51 |
46 // Provides access to JSDate fields. | 52 // Provides access to JSDate fields. |
47 static FieldAccess ForJSDateField(JSDate::FieldIndex index); | 53 static FieldAccess ForJSDateField(JSDate::FieldIndex index); |
48 | 54 |
49 // Provides access to FixedArray::length() field. | 55 // Provides access to FixedArray::length() field. |
50 static FieldAccess ForFixedArrayLength(); | 56 static FieldAccess ForFixedArrayLength(); |
51 | 57 |
52 // Provides access to DescriptorArray::enum_cache() field. | 58 // Provides access to DescriptorArray::enum_cache() field. |
53 static FieldAccess ForDescriptorArrayEnumCache(); | 59 static FieldAccess ForDescriptorArrayEnumCache(); |
54 | 60 |
55 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. | 61 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 126 |
121 private: | 127 private: |
122 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 128 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
123 }; | 129 }; |
124 | 130 |
125 } // namespace compiler | 131 } // namespace compiler |
126 } // namespace internal | 132 } // namespace internal |
127 } // namespace v8 | 133 } // namespace v8 |
128 | 134 |
129 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 135 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |