| 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. | 61 // Provides access to JSGeneratorObject::input_or_debug_pos() field. |
| 62 static FieldAccess ForJSGeneratorObjectInput(); | 62 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); |
| 63 | 63 |
| 64 // Provides access to JSGeneratorObject::operand_stack() field. | 64 // Provides access to JSGeneratorObject::operand_stack() field. |
| 65 static FieldAccess ForJSGeneratorObjectOperandStack(); | 65 static FieldAccess ForJSGeneratorObjectOperandStack(); |
| 66 | 66 |
| 67 // Provides access to JSGeneratorObject::resume_mode() field. | 67 // Provides access to JSGeneratorObject::resume_mode() field. |
| 68 static FieldAccess ForJSGeneratorObjectResumeMode(); | 68 static FieldAccess ForJSGeneratorObjectResumeMode(); |
| 69 | 69 |
| 70 // Provides access to JSArray::length() field. | 70 // Provides access to JSArray::length() field. |
| 71 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 71 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
| 72 | 72 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 private: | 160 private: |
| 161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 } // namespace compiler | 164 } // namespace compiler |
| 165 } // namespace internal | 165 } // namespace internal |
| 166 } // namespace v8 | 166 } // namespace v8 |
| 167 | 167 |
| 168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |