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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
10 #include "src/elements-kind.h" | 10 #include "src/elements-kind.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // Provides access to JSGeneratorObject::context() field. | 76 // Provides access to JSGeneratorObject::context() field. |
77 static FieldAccess ForJSGeneratorObjectContext(); | 77 static FieldAccess ForJSGeneratorObjectContext(); |
78 | 78 |
79 // Provides access to JSGeneratorObject::continuation() field. | 79 // Provides access to JSGeneratorObject::continuation() field. |
80 static FieldAccess ForJSGeneratorObjectContinuation(); | 80 static FieldAccess ForJSGeneratorObjectContinuation(); |
81 | 81 |
82 // Provides access to JSGeneratorObject::input_or_debug_pos() field. | 82 // Provides access to JSGeneratorObject::input_or_debug_pos() field. |
83 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); | 83 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); |
84 | 84 |
| 85 // Provides access to JSGeneratorObject::register_file() field. |
| 86 static FieldAccess ForJSGeneratorObjectRegisterFile(); |
| 87 |
| 88 // Provides access to JSGeneratorObject::function() field. |
| 89 static FieldAccess ForJSGeneratorObjectFunction(); |
| 90 |
| 91 // Provides access to JSGeneratorObject::receiver() field. |
| 92 static FieldAccess ForJSGeneratorObjectReceiver(); |
| 93 |
| 94 // Provides access to JSGeneratorObject::resume_mode() field. |
| 95 static FieldAccess ForJSGeneratorObjectResumeMode(); |
| 96 |
| 97 // Provides access to JSAsyncGeneratorObject::queue() field. |
| 98 static FieldAccess ForJSAsyncGeneratorObjectQueue(); |
| 99 |
85 // Provides access to JSAsyncGeneratorObject::await_input_or_debug_pos() | 100 // Provides access to JSAsyncGeneratorObject::await_input_or_debug_pos() |
86 // field. | 101 // field. |
87 static FieldAccess ForJSAsyncGeneratorObjectAwaitInputOrDebugPos(); | 102 static FieldAccess ForJSAsyncGeneratorObjectAwaitInputOrDebugPos(); |
88 | 103 |
89 // Provides access to JSGeneratorObject::register_file() field. | 104 // Provides access to JSAsyncGeneratorObject::awaited_promise() field. |
90 static FieldAccess ForJSGeneratorObjectRegisterFile(); | 105 static FieldAccess ForJSAsyncGeneratorObjectAwaitedPromise(); |
91 | |
92 // Provides access to JSGeneratorObject::resume_mode() field. | |
93 static FieldAccess ForJSGeneratorObjectResumeMode(); | |
94 | 106 |
95 // Provides access to JSArray::length() field. | 107 // Provides access to JSArray::length() field. |
96 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 108 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
97 | 109 |
98 // Provides access to JSArrayBuffer::backing_store() field. | 110 // Provides access to JSArrayBuffer::backing_store() field. |
99 static FieldAccess ForJSArrayBufferBackingStore(); | 111 static FieldAccess ForJSArrayBufferBackingStore(); |
100 | 112 |
101 // Provides access to JSArrayBuffer::bit_field() field. | 113 // Provides access to JSArrayBuffer::bit_field() field. |
102 static FieldAccess ForJSArrayBufferBitField(); | 114 static FieldAccess ForJSArrayBufferBitField(); |
103 | 115 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 | 280 |
269 private: | 281 private: |
270 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 282 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
271 }; | 283 }; |
272 | 284 |
273 } // namespace compiler | 285 } // namespace compiler |
274 } // namespace internal | 286 } // namespace internal |
275 } // namespace v8 | 287 } // namespace v8 |
276 | 288 |
277 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 289 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |