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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 121 // Provides access to Name::hash_field() field. |
122 static FieldAccess ForNameHashField(); | 122 static FieldAccess ForNameHashField(); |
123 | 123 |
124 // Provides access to String::length() field. | 124 // Provides access to String::length() field. |
125 static FieldAccess ForStringLength(); | 125 static FieldAccess ForStringLength(); |
126 | 126 |
| 127 // Provides access to ConsString::first() field. |
| 128 static FieldAccess ForConsStringFirst(); |
| 129 |
| 130 // Provides access to ConsString::second() field. |
| 131 static FieldAccess ForConsStringSecond(); |
| 132 |
| 133 // Provides access to SlicedString::offset() field. |
| 134 static FieldAccess ForSlicedStringOffset(); |
| 135 |
| 136 // Provides access to SlicedString::parent() field. |
| 137 static FieldAccess ForSlicedStringParent(); |
| 138 |
| 139 // Provides access to ExternalString::resource_data() field. |
| 140 static FieldAccess ForExternalStringResourceData(); |
| 141 |
| 142 // Provides access to ExternalOneByteString characters. |
| 143 static ElementAccess ForExternalOneByteStringCharacter(); |
| 144 |
| 145 // Provides access to ExternalTwoByteString characters. |
| 146 static ElementAccess ForExternalTwoByteStringCharacter(); |
| 147 |
| 148 // Provides access to SeqOneByteString characters. |
| 149 static ElementAccess ForSeqOneByteStringCharacter(); |
| 150 |
| 151 // Provides access to SeqTwoByteString characters. |
| 152 static ElementAccess ForSeqTwoByteStringCharacter(); |
| 153 |
127 // Provides access to JSGlobalObject::global_proxy() field. | 154 // Provides access to JSGlobalObject::global_proxy() field. |
128 static FieldAccess ForJSGlobalObjectGlobalProxy(); | 155 static FieldAccess ForJSGlobalObjectGlobalProxy(); |
129 | 156 |
130 // Provides access to JSGlobalObject::native_context() field. | 157 // Provides access to JSGlobalObject::native_context() field. |
131 static FieldAccess ForJSGlobalObjectNativeContext(); | 158 static FieldAccess ForJSGlobalObjectNativeContext(); |
132 | 159 |
133 // Provides access to JSValue::value() field. | 160 // Provides access to JSValue::value() field. |
134 static FieldAccess ForValue(); | 161 static FieldAccess ForValue(); |
135 | 162 |
136 // Provides access to arguments object fields. | 163 // Provides access to arguments object fields. |
(...skipping 22 matching lines...) Expand all Loading... |
159 | 186 |
160 private: | 187 private: |
161 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 188 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
162 }; | 189 }; |
163 | 190 |
164 } // namespace compiler | 191 } // namespace compiler |
165 } // namespace internal | 192 } // namespace internal |
166 } // namespace v8 | 193 } // namespace v8 |
167 | 194 |
168 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 195 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
OLD | NEW |