| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 // Provides access to JSGeneratorObject::context() field. | 68 // Provides access to JSGeneratorObject::context() field. |
| 69 static FieldAccess ForJSGeneratorObjectContext(); | 69 static FieldAccess ForJSGeneratorObjectContext(); |
| 70 | 70 |
| 71 // Provides access to JSGeneratorObject::continuation() field. | 71 // Provides access to JSGeneratorObject::continuation() field. |
| 72 static FieldAccess ForJSGeneratorObjectContinuation(); | 72 static FieldAccess ForJSGeneratorObjectContinuation(); |
| 73 | 73 |
| 74 // Provides access to JSGeneratorObject::input_or_debug_pos() field. | 74 // Provides access to JSGeneratorObject::input_or_debug_pos() field. |
| 75 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); | 75 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); |
| 76 | 76 |
| 77 // Provides access to JSAsyncGeneratorObject::await_input() field. |
| 78 static FieldAccess ForJSAsyncGeneratorObjectAwaitInput(); |
| 79 |
| 77 // Provides access to JSGeneratorObject::register_file() field. | 80 // Provides access to JSGeneratorObject::register_file() field. |
| 78 static FieldAccess ForJSGeneratorObjectRegisterFile(); | 81 static FieldAccess ForJSGeneratorObjectRegisterFile(); |
| 79 | 82 |
| 80 // Provides access to JSGeneratorObject::resume_mode() field. | 83 // Provides access to JSGeneratorObject::resume_mode() field. |
| 81 static FieldAccess ForJSGeneratorObjectResumeMode(); | 84 static FieldAccess ForJSGeneratorObjectResumeMode(); |
| 82 | 85 |
| 83 // Provides access to JSArray::length() field. | 86 // Provides access to JSArray::length() field. |
| 84 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 87 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
| 85 | 88 |
| 86 // Provides access to JSArrayBuffer::backing_store() field. | 89 // Provides access to JSArrayBuffer::backing_store() field. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 249 |
| 247 private: | 250 private: |
| 248 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 251 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 249 }; | 252 }; |
| 250 | 253 |
| 251 } // namespace compiler | 254 } // namespace compiler |
| 252 } // namespace internal | 255 } // namespace internal |
| 253 } // namespace v8 | 256 } // namespace v8 |
| 254 | 257 |
| 255 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 258 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |