| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 55 // Provides access to JSGeneratorObject::context() field. |
| 56 static FieldAccess ForJSGeneratorObjectContext(); | 56 static FieldAccess ForJSGeneratorObjectContext(); |
| 57 | 57 |
| 58 // Provides access to JSGeneratorObject::continuation() field. | 58 // Provides access to JSGeneratorObject::continuation() field. |
| 59 static FieldAccess ForJSGeneratorObjectContinuation(); | 59 static FieldAccess ForJSGeneratorObjectContinuation(); |
| 60 | 60 |
| 61 // Provides access to JSGeneratorObject::input() field. |
| 62 static FieldAccess ForJSGeneratorObjectInput(); |
| 63 |
| 61 // Provides access to JSGeneratorObject::operand_stack() field. | 64 // Provides access to JSGeneratorObject::operand_stack() field. |
| 62 static FieldAccess ForJSGeneratorObjectOperandStack(); | 65 static FieldAccess ForJSGeneratorObjectOperandStack(); |
| 63 | 66 |
| 67 // Provides access to JSGeneratorObject::resume_mode() field. |
| 68 static FieldAccess ForJSGeneratorObjectResumeMode(); |
| 69 |
| 64 // Provides access to JSArray::length() field. | 70 // Provides access to JSArray::length() field. |
| 65 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 71 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
| 66 | 72 |
| 67 // Provides access to JSArrayBuffer::backing_store() field. | 73 // Provides access to JSArrayBuffer::backing_store() field. |
| 68 static FieldAccess ForJSArrayBufferBackingStore(); | 74 static FieldAccess ForJSArrayBufferBackingStore(); |
| 69 | 75 |
| 70 // Provides access to JSArrayBuffer::bit_field() field. | 76 // Provides access to JSArrayBuffer::bit_field() field. |
| 71 static FieldAccess ForJSArrayBufferBitField(); | 77 static FieldAccess ForJSArrayBufferBitField(); |
| 72 | 78 |
| 73 // Provides access to JSArrayBufferView::buffer() field. | 79 // Provides access to JSArrayBufferView::buffer() field. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 159 |
| 154 private: | 160 private: |
| 155 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 156 }; | 162 }; |
| 157 | 163 |
| 158 } // namespace compiler | 164 } // namespace compiler |
| 159 } // namespace internal | 165 } // namespace internal |
| 160 } // namespace v8 | 166 } // namespace v8 |
| 161 | 167 |
| 162 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |