| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Provides access to Fixed{type}TypedArray and External{type}Array elements. | 114 // Provides access to Fixed{type}TypedArray and External{type}Array elements. |
| 115 static ElementAccess ForTypedArrayElement(ExternalArrayType type, | 115 static ElementAccess ForTypedArrayElement(ExternalArrayType type, |
| 116 bool is_external); | 116 bool is_external); |
| 117 | 117 |
| 118 // =========================================================================== | 118 // =========================================================================== |
| 119 // Access to global per-isolate variables (based on external reference). | 119 // Access to global per-isolate variables (based on external reference). |
| 120 | 120 |
| 121 // Provides access to the backing store of a StatsCounter. | 121 // Provides access to the backing store of a StatsCounter. |
| 122 static FieldAccess ForStatsCounter(); | 122 static FieldAccess ForStatsCounter(); |
| 123 | 123 |
| 124 // =========================================================================== | |
| 125 // Access to activation records on the stack (based on frame pointer). | |
| 126 | |
| 127 // Provides access to the next frame pointer in a stack frame. | |
| 128 static FieldAccess ForFrameCallerFramePtr(); | |
| 129 | |
| 130 // Provides access to the marker in a stack frame. | |
| 131 static FieldAccess ForFrameMarker(); | |
| 132 | |
| 133 private: | 124 private: |
| 134 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 125 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 135 }; | 126 }; |
| 136 | 127 |
| 137 } // namespace compiler | 128 } // namespace compiler |
| 138 } // namespace internal | 129 } // namespace internal |
| 139 } // namespace v8 | 130 } // namespace v8 |
| 140 | 131 |
| 141 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 132 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |