| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 178 |
| 179 // Provides access to SeqTwoByteString characters. | 179 // Provides access to SeqTwoByteString characters. |
| 180 static ElementAccess ForSeqTwoByteStringCharacter(); | 180 static ElementAccess ForSeqTwoByteStringCharacter(); |
| 181 | 181 |
| 182 // Provides access to JSGlobalObject::global_proxy() field. | 182 // Provides access to JSGlobalObject::global_proxy() field. |
| 183 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 183 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
| 184 | 184 |
| 185 // Provides access to JSGlobalObject::native_context() field. | 185 // Provides access to JSGlobalObject::native_context() field. |
| 186 static FieldAccess ForJSGlobalObjectNativeContext(); | 186 static FieldAccess ForJSGlobalObjectNativeContext(); |
| 187 | 187 |
| 188 // Provides access to JSArrayIterator::object() field. |
| 189 static FieldAccess ForJSArrayIteratorObject(); |
| 190 |
| 191 // Provides access to JSArrayIterator::index() field. |
| 192 static FieldAccess ForJSArrayIteratorIndex(InstanceType type = JS_OBJECT_TYPE, |
| 193 ElementsKind kind = NO_ELEMENTS); |
| 194 |
| 195 // Provides access to JSArrayIterator::object_map() field. |
| 196 static FieldAccess ForJSArrayIteratorObjectMap(); |
| 197 |
| 188 // Provides access to JSStringIterator::string() field. | 198 // Provides access to JSStringIterator::string() field. |
| 189 static FieldAccess ForJSStringIteratorString(); | 199 static FieldAccess ForJSStringIteratorString(); |
| 190 | 200 |
| 191 // Provides access to JSStringIterator::index() field. | 201 // Provides access to JSStringIterator::index() field. |
| 192 static FieldAccess ForJSStringIteratorIndex(); | 202 static FieldAccess ForJSStringIteratorIndex(); |
| 193 | 203 |
| 194 // Provides access to JSValue::value() field. | 204 // Provides access to JSValue::value() field. |
| 195 static FieldAccess ForValue(); | 205 static FieldAccess ForValue(); |
| 196 | 206 |
| 197 // Provides access to arguments object fields. | 207 // Provides access to arguments object fields. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 221 | 231 |
| 222 private: | 232 private: |
| 223 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 233 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 224 }; | 234 }; |
| 225 | 235 |
| 226 } // namespace compiler | 236 } // namespace compiler |
| 227 } // namespace internal | 237 } // namespace internal |
| 228 } // namespace v8 | 238 } // namespace v8 |
| 229 | 239 |
| 230 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 240 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |