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

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

Issue 2520913002: [runtime] Rename {JSGeneratorObject::operand_stack} field. (Closed)
Patch Set: Created 4 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 | « src/compiler/access-builder.h ('k') | src/compiler/js-typed-lowering.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 #include "src/compiler/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 6
7 #include "src/compiler/type-cache.h" 7 #include "src/compiler/type-cache.h"
8 #include "src/contexts.h" 8 #include "src/contexts.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/handles-inl.h" 10 #include "src/handles-inl.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 FieldAccess access = {kTaggedBase, 160 FieldAccess access = {kTaggedBase,
161 JSGeneratorObject::kInputOrDebugPosOffset, 161 JSGeneratorObject::kInputOrDebugPosOffset,
162 Handle<Name>(), 162 Handle<Name>(),
163 Type::NonInternal(), 163 Type::NonInternal(),
164 MachineType::AnyTagged(), 164 MachineType::AnyTagged(),
165 kFullWriteBarrier}; 165 kFullWriteBarrier};
166 return access; 166 return access;
167 } 167 }
168 168
169 // static 169 // static
170 FieldAccess AccessBuilder::ForJSGeneratorObjectOperandStack() { 170 FieldAccess AccessBuilder::ForJSGeneratorObjectRegisterFile() {
171 FieldAccess access = {kTaggedBase, 171 FieldAccess access = {kTaggedBase,
172 JSGeneratorObject::kOperandStackOffset, 172 JSGeneratorObject::kRegisterFileOffset,
173 Handle<Name>(), 173 Handle<Name>(),
174 Type::Internal(), 174 Type::Internal(),
175 MachineType::AnyTagged(), 175 MachineType::AnyTagged(),
176 kPointerWriteBarrier}; 176 kPointerWriteBarrier};
177 return access; 177 return access;
178 } 178 }
179 179
180 // static 180 // static
181 FieldAccess AccessBuilder::ForJSGeneratorObjectResumeMode() { 181 FieldAccess AccessBuilder::ForJSGeneratorObjectResumeMode() {
182 FieldAccess access = {kTaggedBase, 182 FieldAccess access = {kTaggedBase,
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 } 827 }
828 UNREACHABLE(); 828 UNREACHABLE();
829 ElementAccess access = {kUntaggedBase, 0, Type::None(), MachineType::None(), 829 ElementAccess access = {kUntaggedBase, 0, Type::None(), MachineType::None(),
830 kNoWriteBarrier}; 830 kNoWriteBarrier};
831 return access; 831 return access;
832 } 832 }
833 833
834 } // namespace compiler 834 } // namespace compiler
835 } // namespace internal 835 } // namespace internal
836 } // namespace v8 836 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698