| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 // Provides access to String::length() field. | 61 // Provides access to String::length() field. |
| 62 static FieldAccess ForStringLength(Zone* zone); | 62 static FieldAccess ForStringLength(Zone* zone); |
| 63 | 63 |
| 64 // Provides access to GlobalObject::native_context() field. | 64 // Provides access to GlobalObject::native_context() field. |
| 65 static FieldAccess ForGlobalObjectNativeContext(); | 65 static FieldAccess ForGlobalObjectNativeContext(); |
| 66 | 66 |
| 67 // Provides access to JSValue::value() field. | 67 // Provides access to JSValue::value() field. |
| 68 static FieldAccess ForValue(); | 68 static FieldAccess ForValue(); |
| 69 | 69 |
| 70 // Provides access to arguments objects fields. | 70 // Provides access to arguments object fields. |
| 71 static FieldAccess ForArgumentsLength(); | 71 static FieldAccess ForArgumentsLength(); |
| 72 static FieldAccess ForArgumentsCallee(); |
| 72 | 73 |
| 73 // Provides access to FixedArray slots. | 74 // Provides access to FixedArray slots. |
| 74 static FieldAccess ForFixedArraySlot(size_t index); | 75 static FieldAccess ForFixedArraySlot(size_t index); |
| 75 | 76 |
| 76 // Provides access to Context slots. | 77 // Provides access to Context slots. |
| 77 static FieldAccess ForContextSlot(size_t index); | 78 static FieldAccess ForContextSlot(size_t index); |
| 78 | 79 |
| 79 // Provides access to PropertyCell::value() field. | 80 // Provides access to PropertyCell::value() field. |
| 80 static FieldAccess ForPropertyCellValue(); | 81 static FieldAccess ForPropertyCellValue(); |
| 81 static FieldAccess ForPropertyCellValue(Type* type); | 82 static FieldAccess ForPropertyCellValue(Type* type); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 110 | 111 |
| 111 private: | 112 private: |
| 112 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 113 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace compiler | 116 } // namespace compiler |
| 116 } // namespace internal | 117 } // namespace internal |
| 117 } // namespace v8 | 118 } // namespace v8 |
| 118 | 119 |
| 119 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 120 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |