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

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

Issue 1512243003: [turbofan] Remove FP-based AccessBuilder functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-access-builder-name
Patch Set: Rebased. 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 | « src/compiler/access-builder.h ('k') | no next file » | 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/contexts.h" 7 #include "src/contexts.h"
8 #include "src/frames.h" 8 #include "src/frames.h"
9 #include "src/heap/heap.h" 9 #include "src/heap/heap.h"
10 #include "src/type-cache.h" 10 #include "src/type-cache.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 354 }
355 355
356 356
357 // static 357 // static
358 FieldAccess AccessBuilder::ForStatsCounter() { 358 FieldAccess AccessBuilder::ForStatsCounter() {
359 FieldAccess access = {kUntaggedBase, 0, MaybeHandle<Name>(), 359 FieldAccess access = {kUntaggedBase, 0, MaybeHandle<Name>(),
360 TypeCache::Get().kInt32, MachineType::Int32()}; 360 TypeCache::Get().kInt32, MachineType::Int32()};
361 return access; 361 return access;
362 } 362 }
363 363
364
365 // static
366 FieldAccess AccessBuilder::ForFrameCallerFramePtr() {
367 FieldAccess access = {kUntaggedBase, StandardFrameConstants::kCallerFPOffset,
368 MaybeHandle<Name>(), Type::Internal(),
369 MachineType::Pointer()};
370 return access;
371 }
372
373
374 // static
375 FieldAccess AccessBuilder::ForFrameMarker() {
376 FieldAccess access = {kUntaggedBase, StandardFrameConstants::kMarkerOffset,
377 MaybeHandle<Name>(), Type::Tagged(),
378 MachineType::AnyTagged()};
379 return access;
380 }
381
382 } // namespace compiler 364 } // namespace compiler
383 } // namespace internal 365 } // namespace internal
384 } // namespace v8 366 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698