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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 // Provides access to JSObject inobject property fields. | 34 // Provides access to JSObject inobject property fields. |
35 static FieldAccess ForJSObjectInObjectProperty(Handle<Map> map, int index); | 35 static FieldAccess ForJSObjectInObjectProperty(Handle<Map> map, int index); |
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 JSArray::length() field. |
| 44 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
| 45 |
43 // Provides access to JSArrayBuffer::backing_store() field. | 46 // Provides access to JSArrayBuffer::backing_store() field. |
44 static FieldAccess ForJSArrayBufferBackingStore(); | 47 static FieldAccess ForJSArrayBufferBackingStore(); |
45 | 48 |
46 // Provides access to JSArrayBuffer::bit_field() field. | 49 // Provides access to JSArrayBuffer::bit_field() field. |
47 static FieldAccess ForJSArrayBufferBitField(); | 50 static FieldAccess ForJSArrayBufferBitField(); |
48 | 51 |
49 // Provides access to JSArrayBufferView::buffer() field. | 52 // Provides access to JSArrayBufferView::buffer() field. |
50 static FieldAccess ForJSArrayBufferViewBuffer(); | 53 static FieldAccess ForJSArrayBufferViewBuffer(); |
51 | 54 |
52 // Provides access to JSDate fields. | 55 // Provides access to JSDate fields. |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 129 |
127 private: | 130 private: |
128 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 131 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
129 }; | 132 }; |
130 | 133 |
131 } // namespace compiler | 134 } // namespace compiler |
132 } // namespace internal | 135 } // namespace internal |
133 } // namespace v8 | 136 } // namespace v8 |
134 | 137 |
135 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 138 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |