| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // Provides access to Map::descriptors() field. | 58 // Provides access to Map::descriptors() field. |
| 59 static FieldAccess ForMapDescriptors(); | 59 static FieldAccess ForMapDescriptors(); |
| 60 | 60 |
| 61 // Provides access to Map::instance_type() field. | 61 // Provides access to Map::instance_type() field. |
| 62 static FieldAccess ForMapInstanceType(); | 62 static FieldAccess ForMapInstanceType(); |
| 63 | 63 |
| 64 // Provides access to String::length() field. | 64 // Provides access to String::length() field. |
| 65 static FieldAccess ForStringLength(); | 65 static FieldAccess ForStringLength(); |
| 66 | 66 |
| 67 // Provides access to GlobalObject::global_proxy() field. | 67 // Provides access to JSGlobalObject::global_proxy() field. |
| 68 static FieldAccess ForGlobalObjectGlobalProxy(); | 68 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
| 69 | 69 |
| 70 // Provides access to GlobalObject::native_context() field. | 70 // Provides access to JSGlobalObject::native_context() field. |
| 71 static FieldAccess ForGlobalObjectNativeContext(); | 71 static FieldAccess ForJSGlobalObjectNativeContext(); |
| 72 | 72 |
| 73 // Provides access to JSValue::value() field. | 73 // Provides access to JSValue::value() field. |
| 74 static FieldAccess ForValue(); | 74 static FieldAccess ForValue(); |
| 75 | 75 |
| 76 // Provides access to arguments object fields. | 76 // Provides access to arguments object fields. |
| 77 static FieldAccess ForArgumentsLength(); | 77 static FieldAccess ForArgumentsLength(); |
| 78 static FieldAccess ForArgumentsCallee(); | 78 static FieldAccess ForArgumentsCallee(); |
| 79 | 79 |
| 80 // Provides access to FixedArray slots. | 80 // Provides access to FixedArray slots. |
| 81 static FieldAccess ForFixedArraySlot(size_t index); | 81 static FieldAccess ForFixedArraySlot(size_t index); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 private: | 118 private: |
| 119 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 119 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace compiler | 122 } // namespace compiler |
| 123 } // namespace internal | 123 } // namespace internal |
| 124 } // namespace v8 | 124 } // namespace v8 |
| 125 | 125 |
| 126 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 126 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |