| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 // Provides access to String::length() field. | 161 // Provides access to String::length() field. |
| 162 static FieldAccess ForStringLength(); | 162 static FieldAccess ForStringLength(); |
| 163 | 163 |
| 164 // Provides access to ConsString::first() field. | 164 // Provides access to ConsString::first() field. |
| 165 static FieldAccess ForConsStringFirst(); | 165 static FieldAccess ForConsStringFirst(); |
| 166 | 166 |
| 167 // Provides access to ConsString::second() field. | 167 // Provides access to ConsString::second() field. |
| 168 static FieldAccess ForConsStringSecond(); | 168 static FieldAccess ForConsStringSecond(); |
| 169 | 169 |
| 170 // Provides access to ThinString::actual() field. |
| 171 static FieldAccess ForThinStringActual(); |
| 172 |
| 170 // Provides access to SlicedString::offset() field. | 173 // Provides access to SlicedString::offset() field. |
| 171 static FieldAccess ForSlicedStringOffset(); | 174 static FieldAccess ForSlicedStringOffset(); |
| 172 | 175 |
| 173 // Provides access to SlicedString::parent() field. | 176 // Provides access to SlicedString::parent() field. |
| 174 static FieldAccess ForSlicedStringParent(); | 177 static FieldAccess ForSlicedStringParent(); |
| 175 | 178 |
| 176 // Provides access to ExternalString::resource_data() field. | 179 // Provides access to ExternalString::resource_data() field. |
| 177 static FieldAccess ForExternalStringResourceData(); | 180 static FieldAccess ForExternalStringResourceData(); |
| 178 | 181 |
| 179 // Provides access to ExternalOneByteString characters. | 182 // Provides access to ExternalOneByteString characters. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 246 |
| 244 private: | 247 private: |
| 245 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 248 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 246 }; | 249 }; |
| 247 | 250 |
| 248 } // namespace compiler | 251 } // namespace compiler |
| 249 } // namespace internal | 252 } // namespace internal |
| 250 } // namespace v8 | 253 } // namespace v8 |
| 251 | 254 |
| 252 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 255 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |