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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 // Provides access to Map::descriptors() field. | 112 // Provides access to Map::descriptors() field. |
113 static FieldAccess ForMapDescriptors(); | 113 static FieldAccess ForMapDescriptors(); |
114 | 114 |
115 // Provides access to Map::instance_type() field. | 115 // Provides access to Map::instance_type() field. |
116 static FieldAccess ForMapInstanceType(); | 116 static FieldAccess ForMapInstanceType(); |
117 | 117 |
118 // Provides access to Map::prototype() field. | 118 // Provides access to Map::prototype() field. |
119 static FieldAccess ForMapPrototype(); | 119 static FieldAccess ForMapPrototype(); |
120 | 120 |
| 121 // Provides access to Name::hash_field() field. |
| 122 static FieldAccess ForNameHashField(); |
| 123 |
121 // Provides access to String::length() field. | 124 // Provides access to String::length() field. |
122 static FieldAccess ForStringLength(); | 125 static FieldAccess ForStringLength(); |
123 | 126 |
124 // Provides access to JSGlobalObject::global_proxy() field. | 127 // Provides access to JSGlobalObject::global_proxy() field. |
125 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 128 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
126 | 129 |
127 // Provides access to JSGlobalObject::native_context() field. | 130 // Provides access to JSGlobalObject::native_context() field. |
128 static FieldAccess ForJSGlobalObjectNativeContext(); | 131 static FieldAccess ForJSGlobalObjectNativeContext(); |
129 | 132 |
130 // Provides access to JSValue::value() field. | 133 // Provides access to JSValue::value() field. |
(...skipping 25 matching lines...) Expand all Loading... |
156 | 159 |
157 private: | 160 private: |
158 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
159 }; | 162 }; |
160 | 163 |
161 } // namespace compiler | 164 } // namespace compiler |
162 } // namespace internal | 165 } // namespace internal |
163 } // namespace v8 | 166 } // namespace v8 |
164 | 167 |
165 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |