| 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/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
| 9 #include "src/elements-kind.h" | 10 #include "src/elements-kind.h" |
| 11 #include "src/globals.h" |
| 10 | 12 |
| 11 namespace v8 { | 13 namespace v8 { |
| 12 namespace internal { | 14 namespace internal { |
| 13 namespace compiler { | 15 namespace compiler { |
| 14 | 16 |
| 15 // This access builder provides a set of static methods constructing commonly | 17 // This access builder provides a set of static methods constructing commonly |
| 16 // used FieldAccess and ElementAccess descriptors. These descriptors serve as | 18 // used FieldAccess and ElementAccess descriptors. These descriptors serve as |
| 17 // parameters to simplified load/store operators. | 19 // parameters to simplified load/store operators. |
| 18 class AccessBuilder final : public AllStatic { | 20 class V8_EXPORT_PRIVATE AccessBuilder final |
| 21 : public NON_EXPORTED_BASE(AllStatic) { |
| 19 public: | 22 public: |
| 20 // =========================================================================== | 23 // =========================================================================== |
| 21 // Access to external values (based on external references). | 24 // Access to external values (based on external references). |
| 22 | 25 |
| 23 // Provides access to a double field identified by an external reference. | 26 // Provides access to a double field identified by an external reference. |
| 24 static FieldAccess ForExternalDoubleValue(); | 27 static FieldAccess ForExternalDoubleValue(); |
| 25 | 28 |
| 26 // =========================================================================== | 29 // =========================================================================== |
| 27 // Access to heap object fields and elements (based on tagged pointer). | 30 // Access to heap object fields and elements (based on tagged pointer). |
| 28 | 31 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 | 221 |
| 219 private: | 222 private: |
| 220 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 223 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 221 }; | 224 }; |
| 222 | 225 |
| 223 } // namespace compiler | 226 } // namespace compiler |
| 224 } // namespace internal | 227 } // namespace internal |
| 225 } // namespace v8 | 228 } // namespace v8 |
| 226 | 229 |
| 227 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 230 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |