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

Side by Side Diff: src/compiler/linkage.cc

Issue 2258073002: [Turbofan]: Use new MachineTypes in access-builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: A bit of refactoring. Created 4 years, 3 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
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/machine-operator.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/linkage.h" 5 #include "src/compiler/linkage.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/builtins/builtins-utils.h" 8 #include "src/builtins/builtins-utils.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 19 matching lines...) Expand all
30 return MachineType::Int8(); 30 return MachineType::Int8();
31 case Representation::kUInteger8: 31 case Representation::kUInteger8:
32 return MachineType::Uint8(); 32 return MachineType::Uint8();
33 case Representation::kInteger16: 33 case Representation::kInteger16:
34 return MachineType::Int16(); 34 return MachineType::Int16();
35 case Representation::kUInteger16: 35 case Representation::kUInteger16:
36 return MachineType::Uint16(); 36 return MachineType::Uint16();
37 case Representation::kInteger32: 37 case Representation::kInteger32:
38 return MachineType::Int32(); 38 return MachineType::Int32();
39 case Representation::kSmi: 39 case Representation::kSmi:
40 return MachineType::TaggedSigned();
40 case Representation::kTagged: 41 case Representation::kTagged:
42 return MachineType::AnyTagged();
41 case Representation::kHeapObject: 43 case Representation::kHeapObject:
42 return MachineType::AnyTagged(); 44 return MachineType::TaggedPointer();
43 case Representation::kDouble: 45 case Representation::kDouble:
44 return MachineType::Float64(); 46 return MachineType::Float64();
45 case Representation::kExternal: 47 case Representation::kExternal:
46 return MachineType::Pointer(); 48 return MachineType::Pointer();
47 case Representation::kNone: 49 case Representation::kNone:
48 case Representation::kNumRepresentations: 50 case Representation::kNumRepresentations:
49 break; 51 break;
50 } 52 }
51 UNREACHABLE(); 53 UNREACHABLE();
52 return MachineType::None(); 54 return MachineType::None();
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged())); 523 DCHECK(loc == regloc(kContextRegister, MachineType::AnyTagged()));
522 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot, 524 return LinkageLocation::ForCalleeFrameSlot(Frame::kContextSlot,
523 MachineType::AnyTagged()); 525 MachineType::AnyTagged());
524 } 526 }
525 } 527 }
526 528
527 529
528 } // namespace compiler 530 } // namespace compiler
529 } // namespace internal 531 } // namespace internal
530 } // namespace v8 532 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698