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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 // Provides access to JSFunction::literals() field. | 46 // Provides access to JSFunction::literals() field. |
47 static FieldAccess ForJSFunctionLiterals(); | 47 static FieldAccess ForJSFunctionLiterals(); |
48 | 48 |
49 // Provides access to JSFunction::code() field. | 49 // Provides access to JSFunction::code() field. |
50 static FieldAccess ForJSFunctionCodeEntry(); | 50 static FieldAccess ForJSFunctionCodeEntry(); |
51 | 51 |
52 // Provides access to JSFunction::next_function_link() field. | 52 // Provides access to JSFunction::next_function_link() field. |
53 static FieldAccess ForJSFunctionNextFunctionLink(); | 53 static FieldAccess ForJSFunctionNextFunctionLink(); |
54 | 54 |
| 55 // Provides access to JSGeneratorObject::context() field. |
| 56 static FieldAccess ForJSGeneratorObjectContext(); |
| 57 |
| 58 // Provides access to JSGeneratorObject::continuation() field. |
| 59 static FieldAccess ForJSGeneratorObjectContinuation(); |
| 60 |
| 61 // Provides access to JSGeneratorObject::operand_stack() field. |
| 62 static FieldAccess ForJSGeneratorObjectOperandStack(); |
| 63 |
55 // Provides access to JSArray::length() field. | 64 // Provides access to JSArray::length() field. |
56 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 65 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
57 | 66 |
58 // Provides access to JSArrayBuffer::backing_store() field. | 67 // Provides access to JSArrayBuffer::backing_store() field. |
59 static FieldAccess ForJSArrayBufferBackingStore(); | 68 static FieldAccess ForJSArrayBufferBackingStore(); |
60 | 69 |
61 // Provides access to JSArrayBuffer::bit_field() field. | 70 // Provides access to JSArrayBuffer::bit_field() field. |
62 static FieldAccess ForJSArrayBufferBitField(); | 71 static FieldAccess ForJSArrayBufferBitField(); |
63 | 72 |
64 // Provides access to JSArrayBufferView::buffer() field. | 73 // Provides access to JSArrayBufferView::buffer() field. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 153 |
145 private: | 154 private: |
146 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 155 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
147 }; | 156 }; |
148 | 157 |
149 } // namespace compiler | 158 } // namespace compiler |
150 } // namespace internal | 159 } // namespace internal |
151 } // namespace v8 | 160 } // namespace v8 |
152 | 161 |
153 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 162 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |