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

Side by Side Diff: src/compiler/s390/instruction-selector-s390.cc

Issue 2124023003: [turbofan] Add MachineType to LinkageLocation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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/raw-machine-assembler.cc ('k') | src/compiler/simplified-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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/s390/frames-s390.h" 9 #include "src/s390/frames-s390.h"
10 10
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 } 1699 }
1700 1700
1701 void InstructionSelector::EmitPrepareArguments( 1701 void InstructionSelector::EmitPrepareArguments(
1702 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1702 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1703 Node* node) { 1703 Node* node) {
1704 S390OperandGenerator g(this); 1704 S390OperandGenerator g(this);
1705 1705
1706 // Prepare for C function call. 1706 // Prepare for C function call.
1707 if (descriptor->IsCFunctionCall()) { 1707 if (descriptor->IsCFunctionCall()) {
1708 Emit(kArchPrepareCallCFunction | 1708 Emit(kArchPrepareCallCFunction |
1709 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 1709 MiscField::encode(static_cast<int>(descriptor->ParameterCount())),
1710 0, nullptr, 0, nullptr); 1710 0, nullptr, 0, nullptr);
1711 1711
1712 // Poke any stack arguments. 1712 // Poke any stack arguments.
1713 int slot = kStackFrameExtraParamSlot; 1713 int slot = kStackFrameExtraParamSlot;
1714 for (PushParameter input : (*arguments)) { 1714 for (PushParameter input : (*arguments)) {
1715 Emit(kS390_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()), 1715 Emit(kS390_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()),
1716 g.TempImmediate(slot)); 1716 g.TempImmediate(slot));
1717 ++slot; 1717 ++slot;
1718 } 1718 }
1719 } else { 1719 } else {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1855 // static 1855 // static
1856 MachineOperatorBuilder::AlignmentRequirements 1856 MachineOperatorBuilder::AlignmentRequirements
1857 InstructionSelector::AlignmentRequirements() { 1857 InstructionSelector::AlignmentRequirements() {
1858 return MachineOperatorBuilder::AlignmentRequirements:: 1858 return MachineOperatorBuilder::AlignmentRequirements::
1859 FullUnalignedAccessSupport(); 1859 FullUnalignedAccessSupport();
1860 } 1860 }
1861 1861
1862 } // namespace compiler 1862 } // namespace compiler
1863 } // namespace internal 1863 } // namespace internal
1864 } // namespace v8 1864 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/raw-machine-assembler.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698