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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Provides access to JSObject::properties() field. | 28 // Provides access to JSObject::properties() field. |
29 static FieldAccess ForJSObjectProperties(); | 29 static FieldAccess ForJSObjectProperties(); |
30 | 30 |
31 // Provides access to JSObject::elements() field. | 31 // Provides access to JSObject::elements() field. |
32 static FieldAccess ForJSObjectElements(); | 32 static FieldAccess ForJSObjectElements(); |
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::prototype_or_initial_map() field. |
| 38 static FieldAccess ForJSFunctionPrototypeOrInitialMap(); |
| 39 |
37 // Provides access to JSFunction::context() field. | 40 // Provides access to JSFunction::context() field. |
38 static FieldAccess ForJSFunctionContext(); | 41 static FieldAccess ForJSFunctionContext(); |
39 | 42 |
40 // Provides access to JSFunction::shared() field. | 43 // Provides access to JSFunction::shared() field. |
41 static FieldAccess ForJSFunctionSharedFunctionInfo(); | 44 static FieldAccess ForJSFunctionSharedFunctionInfo(); |
42 | 45 |
| 46 // Provides access to JSFunction::literals() field. |
| 47 static FieldAccess ForJSFunctionLiterals(); |
| 48 |
| 49 // Provides access to JSFunction::code() field. |
| 50 static FieldAccess ForJSFunctionCodeEntry(); |
| 51 |
| 52 // Provides access to JSFunction::next_function_link() field. |
| 53 static FieldAccess ForJSFunctionNextFunctionLink(); |
| 54 |
43 // Provides access to JSArray::length() field. | 55 // Provides access to JSArray::length() field. |
44 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 56 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
45 | 57 |
46 // Provides access to JSArrayBuffer::backing_store() field. | 58 // Provides access to JSArrayBuffer::backing_store() field. |
47 static FieldAccess ForJSArrayBufferBackingStore(); | 59 static FieldAccess ForJSArrayBufferBackingStore(); |
48 | 60 |
49 // Provides access to JSArrayBuffer::bit_field() field. | 61 // Provides access to JSArrayBuffer::bit_field() field. |
50 static FieldAccess ForJSArrayBufferBitField(); | 62 static FieldAccess ForJSArrayBufferBitField(); |
51 | 63 |
52 // Provides access to JSArrayBufferView::buffer() field. | 64 // Provides access to JSArrayBufferView::buffer() field. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 150 |
139 private: | 151 private: |
140 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 152 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
141 }; | 153 }; |
142 | 154 |
143 } // namespace compiler | 155 } // namespace compiler |
144 } // namespace internal | 156 } // namespace internal |
145 } // namespace v8 | 157 } // namespace v8 |
146 | 158 |
147 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 159 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |