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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Provides access to PropertyCell::value() field. | 101 // Provides access to PropertyCell::value() field. |
102 static FieldAccess ForPropertyCellValue(); | 102 static FieldAccess ForPropertyCellValue(); |
103 static FieldAccess ForPropertyCellValue(Type* type); | 103 static FieldAccess ForPropertyCellValue(Type* type); |
104 | 104 |
105 // Provides access to SharedFunctionInfo::feedback_vector() field. | 105 // Provides access to SharedFunctionInfo::feedback_vector() field. |
106 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); | 106 static FieldAccess ForSharedFunctionInfoTypeFeedbackVector(); |
107 | 107 |
108 // Provides access to FixedArray elements. | 108 // Provides access to FixedArray elements. |
109 static ElementAccess ForFixedArrayElement(); | 109 static ElementAccess ForFixedArrayElement(); |
110 | 110 |
| 111 // Provides access to FixedDoubleArray elements. |
| 112 static ElementAccess ForFixedDoubleArrayElement(); |
| 113 |
111 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 114 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
112 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 115 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
113 bool is_external); | 116 bool is_external); |
114 | 117 |
115 // =========================================================================== | 118 // =========================================================================== |
116 // Access to global per-isolate variables (based on external reference). | 119 // Access to global per-isolate variables (based on external reference). |
117 | 120 |
118 // Provides access to the backing store of a StatsCounter. | 121 // Provides access to the backing store of a StatsCounter. |
119 static FieldAccess ForStatsCounter(); | 122 static FieldAccess ForStatsCounter(); |
120 | 123 |
121 // =========================================================================== | 124 // =========================================================================== |
122 // Access to activation records on the stack (based on frame pointer). | 125 // Access to activation records on the stack (based on frame pointer). |
123 | 126 |
124 // Provides access to the next frame pointer in a stack frame. | 127 // Provides access to the next frame pointer in a stack frame. |
125 static FieldAccess ForFrameCallerFramePtr(); | 128 static FieldAccess ForFrameCallerFramePtr(); |
126 | 129 |
127 // Provides access to the marker in a stack frame. | 130 // Provides access to the marker in a stack frame. |
128 static FieldAccess ForFrameMarker(); | 131 static FieldAccess ForFrameMarker(); |
129 | 132 |
130 private: | 133 private: |
131 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 134 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
132 }; | 135 }; |
133 | 136 |
134 } // namespace compiler | 137 } // namespace compiler |
135 } // namespace internal | 138 } // namespace internal |
136 } // namespace v8 | 139 } // namespace v8 |
137 | 140 |
138 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 141 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |