| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 // Provides access to SeqTwoByteString characters. | 185 // Provides access to SeqTwoByteString characters. |
| 186 static ElementAccess ForSeqTwoByteStringCharacter(); | 186 static ElementAccess ForSeqTwoByteStringCharacter(); |
| 187 | 187 |
| 188 // Provides access to JSGlobalObject::global_proxy() field. | 188 // Provides access to JSGlobalObject::global_proxy() field. |
| 189 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 189 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
| 190 | 190 |
| 191 // Provides access to JSGlobalObject::native_context() field. | 191 // Provides access to JSGlobalObject::native_context() field. |
| 192 static FieldAccess ForJSGlobalObjectNativeContext(); | 192 static FieldAccess ForJSGlobalObjectNativeContext(); |
| 193 | 193 |
| 194 // Provides access to JSArrayIterator::object() field. |
| 195 static FieldAccess ForJSArrayIteratorObject(); |
| 196 |
| 197 // Provides access to JSArrayIterator::index() field. |
| 198 static FieldAccess ForJSArrayIteratorIndex(InstanceType type = JS_OBJECT_TYPE, |
| 199 ElementsKind kind = NO_ELEMENTS); |
| 200 |
| 201 // Provides access to JSArrayIterator::object_map() field. |
| 202 static FieldAccess ForJSArrayIteratorObjectMap(); |
| 203 |
| 194 // Provides access to JSStringIterator::string() field. | 204 // Provides access to JSStringIterator::string() field. |
| 195 static FieldAccess ForJSStringIteratorString(); | 205 static FieldAccess ForJSStringIteratorString(); |
| 196 | 206 |
| 197 // Provides access to JSStringIterator::index() field. | 207 // Provides access to JSStringIterator::index() field. |
| 198 static FieldAccess ForJSStringIteratorIndex(); | 208 static FieldAccess ForJSStringIteratorIndex(); |
| 199 | 209 |
| 200 // Provides access to JSValue::value() field. | 210 // Provides access to JSValue::value() field. |
| 201 static FieldAccess ForValue(); | 211 static FieldAccess ForValue(); |
| 202 | 212 |
| 203 // Provides access to Cell::value() field. | 213 // Provides access to Cell::value() field. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 230 | 240 |
| 231 private: | 241 private: |
| 232 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 242 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 233 }; | 243 }; |
| 234 | 244 |
| 235 } // namespace compiler | 245 } // namespace compiler |
| 236 } // namespace internal | 246 } // namespace internal |
| 237 } // namespace v8 | 247 } // namespace v8 |
| 238 | 248 |
| 239 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 249 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |