| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 // =========================================================================== | 124 // =========================================================================== |
| 125 // Access to activation records on the stack (based on frame pointer). | 125 // Access to activation records on the stack (based on frame pointer). |
| 126 | 126 |
| 127 // Provides access to the next frame pointer in a stack frame. | 127 // Provides access to the next frame pointer in a stack frame. |
| 128 static FieldAccess ForFrameCallerFramePtr(); | 128 static FieldAccess ForFrameCallerFramePtr(); |
| 129 | 129 |
| 130 // Provides access to the marker in a stack frame. | 130 // Provides access to the marker in a stack frame. |
| 131 static FieldAccess ForFrameMarker(); | 131 static FieldAccess ForFrameMarker(); |
| 132 | 132 |
| 133 // =========================================================================== |
| 134 |
| 135 // Helper to populate {FieldAccess::name} for tracing. |
| 136 static const char* GetNameForTracing(Handle<Name> name, Zone* zone); |
| 137 |
| 133 private: | 138 private: |
| 134 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); | 139 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); |
| 135 }; | 140 }; |
| 136 | 141 |
| 137 } // namespace compiler | 142 } // namespace compiler |
| 138 } // namespace internal | 143 } // namespace internal |
| 139 } // namespace v8 | 144 } // namespace v8 |
| 140 | 145 |
| 141 #endif // V8_COMPILER_ACCESS_BUILDER_H_ | 146 #endif // V8_COMPILER_ACCESS_BUILDER_H_ |
| OLD | NEW |