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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 static ElementAccess ForExternalOneByteStringCharacter(); | 168 static ElementAccess ForExternalOneByteStringCharacter(); |
169 | 169 |
170 // Provides access to ExternalTwoByteString characters. | 170 // Provides access to ExternalTwoByteString characters. |
171 static ElementAccess ForExternalTwoByteStringCharacter(); | 171 static ElementAccess ForExternalTwoByteStringCharacter(); |
172 | 172 |
173 // Provides access to SeqOneByteString characters. | 173 // Provides access to SeqOneByteString characters. |
174 static ElementAccess ForSeqOneByteStringCharacter(); | 174 static ElementAccess ForSeqOneByteStringCharacter(); |
175 | 175 |
176 // Provides access to SeqTwoByteString characters. | 176 // Provides access to SeqTwoByteString characters. |
177 static ElementAccess ForSeqTwoByteStringCharacter(); | 177 static ElementAccess ForSeqTwoByteStringCharacter(); |
178 static FieldAccess ForSeqTwoByteStringFirstCharacterPair(); | |
Benedikt Meurer
2016/10/01 17:36:25
Remove this unused method.
| |
178 | 179 |
179 // Provides access to JSGlobalObject::global_proxy() field. | 180 // Provides access to JSGlobalObject::global_proxy() field. |
180 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 181 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
181 | 182 |
182 // Provides access to JSGlobalObject::native_context() field. | 183 // Provides access to JSGlobalObject::native_context() field. |
183 static FieldAccess ForJSGlobalObjectNativeContext(); | 184 static FieldAccess ForJSGlobalObjectNativeContext(); |
184 | 185 |
186 // Provides access to JSStringIterator::string() field. | |
187 static FieldAccess ForJSStringIteratorString(); | |
188 | |
189 // Provides access to JSStringIterator::index() field. | |
190 static FieldAccess ForJSStringIteratorIndex(); | |
191 | |
185 // Provides access to JSValue::value() field. | 192 // Provides access to JSValue::value() field. |
186 static FieldAccess ForValue(); | 193 static FieldAccess ForValue(); |
187 | 194 |
188 // Provides access to arguments object fields. | 195 // Provides access to arguments object fields. |
189 static FieldAccess ForArgumentsLength(); | 196 static FieldAccess ForArgumentsLength(); |
190 static FieldAccess ForArgumentsCallee(); | 197 static FieldAccess ForArgumentsCallee(); |
191 | 198 |
192 // Provides access to FixedArray slots. | 199 // Provides access to FixedArray slots. |
193 static FieldAccess ForFixedArraySlot(size_t index); | 200 static FieldAccess ForFixedArraySlot(size_t index); |
194 | 201 |
(...skipping 17 matching lines...) Expand all Loading... | |
212 | 219 |
213 private: | 220 private: |
214 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 221 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
215 }; | 222 }; |
216 | 223 |
217 } // namespace compiler | 224 } // namespace compiler |
218 } // namespace internal | 225 } // namespace internal |
219 } // namespace v8 | 226 } // namespace v8 |
220 | 227 |
221 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 228 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |