| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 // Provides access to JSGeneratorObject::context() field. | 65 // Provides access to JSGeneratorObject::context() field. |
| 66 static FieldAccess ForJSGeneratorObjectContext(); | 66 static FieldAccess ForJSGeneratorObjectContext(); |
| 67 | 67 |
| 68 // Provides access to JSGeneratorObject::continuation() field. | 68 // Provides access to JSGeneratorObject::continuation() field. |
| 69 static FieldAccess ForJSGeneratorObjectContinuation(); | 69 static FieldAccess ForJSGeneratorObjectContinuation(); |
| 70 | 70 |
| 71 // Provides access to JSGeneratorObject::input_or_debug_pos() field. | 71 // Provides access to JSGeneratorObject::input_or_debug_pos() field. |
| 72 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); | 72 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); |
| 73 | 73 |
| 74 // Provides access to JSGeneratorObject::operand_stack() field. | 74 // Provides access to JSGeneratorObject::register_file() field. |
| 75 static FieldAccess ForJSGeneratorObjectOperandStack(); | 75 static FieldAccess ForJSGeneratorObjectRegisterFile(); |
| 76 | 76 |
| 77 // Provides access to JSGeneratorObject::resume_mode() field. | 77 // Provides access to JSGeneratorObject::resume_mode() field. |
| 78 static FieldAccess ForJSGeneratorObjectResumeMode(); | 78 static FieldAccess ForJSGeneratorObjectResumeMode(); |
| 79 | 79 |
| 80 // Provides access to JSArray::length() field. | 80 // Provides access to JSArray::length() field. |
| 81 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); | 81 static FieldAccess ForJSArrayLength(ElementsKind elements_kind); |
| 82 | 82 |
| 83 // Provides access to JSArrayBuffer::backing_store() field. | 83 // Provides access to JSArrayBuffer::backing_store() field. |
| 84 static FieldAccess ForJSArrayBufferBackingStore(); | 84 static FieldAccess ForJSArrayBufferBackingStore(); |
| 85 | 85 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 240 |
| 241 private: | 241 private: |
| 242 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 242 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 } // namespace compiler | 245 } // namespace compiler |
| 246 } // namespace internal | 246 } // namespace internal |
| 247 } // namespace v8 | 247 } // namespace v8 |
| 248 | 248 |
| 249 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 249 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |