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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |