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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 // Provides access to JSArrayBuffer::backing_store() field. | 73 // Provides access to JSArrayBuffer::backing_store() field. |
74 static FieldAccess ForJSArrayBufferBackingStore(); | 74 static FieldAccess ForJSArrayBufferBackingStore(); |
75 | 75 |
76 // Provides access to JSArrayBuffer::bit_field() field. | 76 // Provides access to JSArrayBuffer::bit_field() field. |
77 static FieldAccess ForJSArrayBufferBitField(); | 77 static FieldAccess ForJSArrayBufferBitField(); |
78 | 78 |
79 // Provides access to JSArrayBufferView::buffer() field. | 79 // Provides access to JSArrayBufferView::buffer() field. |
80 static FieldAccess ForJSArrayBufferViewBuffer(); | 80 static FieldAccess ForJSArrayBufferViewBuffer(); |
81 | 81 |
| 82 // Provides access to JSArrayBufferView::byteLength() field. |
| 83 static FieldAccess ForJSArrayBufferViewByteLength(); |
| 84 |
| 85 // Provides access to JSArrayBufferView::byteOffset() field. |
| 86 static FieldAccess ForJSArrayBufferViewByteOffset(); |
| 87 |
| 88 // Provides access to JSTypedArray::length() field. |
| 89 static FieldAccess ForJSTypedArrayLength(); |
| 90 |
82 // Provides access to JSDate fields. | 91 // Provides access to JSDate fields. |
83 static FieldAccess ForJSDateField(JSDate::FieldIndex index); | 92 static FieldAccess ForJSDateField(JSDate::FieldIndex index); |
84 | 93 |
85 // Provides access to JSIteratorResult::done() field. | 94 // Provides access to JSIteratorResult::done() field. |
86 static FieldAccess ForJSIteratorResultDone(); | 95 static FieldAccess ForJSIteratorResultDone(); |
87 | 96 |
88 // Provides access to JSIteratorResult::value() field. | 97 // Provides access to JSIteratorResult::value() field. |
89 static FieldAccess ForJSIteratorResultValue(); | 98 static FieldAccess ForJSIteratorResultValue(); |
90 | 99 |
91 // Provides access to JSRegExp::flags() field. | 100 // Provides access to JSRegExp::flags() field. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 195 |
187 private: | 196 private: |
188 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 197 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
189 }; | 198 }; |
190 | 199 |
191 } // namespace compiler | 200 } // namespace compiler |
192 } // namespace internal | 201 } // namespace internal |
193 } // namespace v8 | 202 } // namespace v8 |
194 | 203 |
195 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 204 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |