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 #include "src/elements-kind.h" | 9 #include "src/elements-kind.h" |
10 | 10 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 // Provides access to SeqTwoByteString characters. | 176 // Provides access to SeqTwoByteString characters. |
177 static ElementAccess ForSeqTwoByteStringCharacter(); | 177 static ElementAccess ForSeqTwoByteStringCharacter(); |
178 | 178 |
179 // Provides access to JSGlobalObject::global_proxy() field. | 179 // Provides access to JSGlobalObject::global_proxy() field. |
180 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 180 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
181 | 181 |
182 // Provides access to JSGlobalObject::native_context() field. | 182 // Provides access to JSGlobalObject::native_context() field. |
183 static FieldAccess ForJSGlobalObjectNativeContext(); | 183 static FieldAccess ForJSGlobalObjectNativeContext(); |
184 | 184 |
185 // Provides access to JSStringIterator::string() field. | |
186 static FieldAccess ForJSStringIteratorString(); | |
187 | |
188 // Provides access to JSStringIterator::index() field. | |
189 static FieldAccess ForJSStringIteratorIndex(); | |
190 | |
191 // Provides access to JSValue::value() field. | 185 // Provides access to JSValue::value() field. |
192 static FieldAccess ForValue(); | 186 static FieldAccess ForValue(); |
193 | 187 |
194 // Provides access to arguments object fields. | 188 // Provides access to arguments object fields. |
195 static FieldAccess ForArgumentsLength(); | 189 static FieldAccess ForArgumentsLength(); |
196 static FieldAccess ForArgumentsCallee(); | 190 static FieldAccess ForArgumentsCallee(); |
197 | 191 |
198 // Provides access to FixedArray slots. | 192 // Provides access to FixedArray slots. |
199 static FieldAccess ForFixedArraySlot(size_t index); | 193 static FieldAccess ForFixedArraySlot(size_t index); |
200 | 194 |
(...skipping 17 matching lines...) Expand all Loading... |
218 | 212 |
219 private: | 213 private: |
220 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 214 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
221 }; | 215 }; |
222 | 216 |
223 } // namespace compiler | 217 } // namespace compiler |
224 } // namespace internal | 218 } // namespace internal |
225 } // namespace v8 | 219 } // namespace v8 |
226 | 220 |
227 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 221 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |