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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 // Provides access to JSObject::elements() field. | 25 // Provides access to JSObject::elements() field. |
26 static FieldAccess ForJSObjectElements(); | 26 static FieldAccess ForJSObjectElements(); |
27 | 27 |
28 // Provides access to JSFunction::context() field. | 28 // Provides access to JSFunction::context() field. |
29 static FieldAccess ForJSFunctionContext(); | 29 static FieldAccess ForJSFunctionContext(); |
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 JSDate fields. |
| 35 static FieldAccess ForJSDateField(JSDate::FieldIndex index); |
| 36 |
34 // Provides access to FixedArray::length() field. | 37 // Provides access to FixedArray::length() field. |
35 static FieldAccess ForFixedArrayLength(); | 38 static FieldAccess ForFixedArrayLength(); |
36 | 39 |
37 // Provides access to ExternalArray::external_pointer() field. | 40 // Provides access to ExternalArray::external_pointer() field. |
38 static FieldAccess ForExternalArrayPointer(); | 41 static FieldAccess ForExternalArrayPointer(); |
39 | 42 |
40 // Provides access to DescriptorArray::enum_cache() field. | 43 // Provides access to DescriptorArray::enum_cache() field. |
41 static FieldAccess ForDescriptorArrayEnumCache(); | 44 static FieldAccess ForDescriptorArrayEnumCache(); |
42 | 45 |
43 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. | 46 // Provides access to DescriptorArray::enum_cache_bridge_cache() field. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 94 |
92 private: | 95 private: |
93 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 96 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
94 }; | 97 }; |
95 | 98 |
96 } // namespace compiler | 99 } // namespace compiler |
97 } // namespace internal | 100 } // namespace internal |
98 } // namespace v8 | 101 } // namespace v8 |
99 | 102 |
100 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 103 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |