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

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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merge with ToT Created 5 years, 7 months 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
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 #include "src/compiler/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 #include "src/types-inl.h" 6 #include "src/types-inl.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 Type::Any(), kMachAnyTagged}; 157 Type::Any(), kMachAnyTagged};
158 } 158 }
159 159
160 160
161 // static 161 // static
162 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() { 162 FieldAccess AccessBuilder::ForSharedFunctionInfoTypeFeedbackVector() {
163 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset, 163 return {kTaggedBase, SharedFunctionInfo::kFeedbackVectorOffset,
164 Handle<Name>(), Type::Any(), kMachAnyTagged}; 164 Handle<Name>(), Type::Any(), kMachAnyTagged};
165 } 165 }
166 166
167
168 // static
169 FieldAccess AccessBuilder::ForFrameCallerFramePtr() {
170 return {kUntaggedBase, StandardFrameConstants::kCallerFPOffset,
171 MaybeHandle<Name>(), Type::UntaggedPointer(), kMachPtr};
172 }
173
174
175 // static
176 FieldAccess AccessBuilder::ForFrameMarker() {
177 return {kUntaggedBase, StandardFrameConstants::kMarkerOffset,
178 MaybeHandle<Name>(), Type::TaggedPointer(), kMachAnyTagged};
179 }
180
181
167 } // namespace compiler 182 } // namespace compiler
168 } // namespace internal 183 } // namespace internal
169 } // namespace v8 184 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698