Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: src/compiler/access-builder.h

Issue 1514863002: [turbofan] Make FieldAccess::name usable in practice. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698