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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.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
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/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/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 1860
1861 1861
1862 void InstructionSelector::EmitPrepareArguments( 1862 void InstructionSelector::EmitPrepareArguments(
1863 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1863 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1864 Node* node) { 1864 Node* node) {
1865 PPCOperandGenerator g(this); 1865 PPCOperandGenerator g(this);
1866 1866
1867 // Prepare for C function call. 1867 // Prepare for C function call.
1868 if (descriptor->IsCFunctionCall()) { 1868 if (descriptor->IsCFunctionCall()) {
1869 Emit(kArchPrepareCallCFunction | 1869 Emit(kArchPrepareCallCFunction |
1870 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 1870 MiscField::encode(static_cast<int>(descriptor->ParameterCount())),
1871 0, nullptr, 0, nullptr); 1871 0, nullptr, 0, nullptr);
1872 1872
1873 // Poke any stack arguments. 1873 // Poke any stack arguments.
1874 int slot = kStackFrameExtraParamSlot; 1874 int slot = kStackFrameExtraParamSlot;
1875 for (PushParameter input : (*arguments)) { 1875 for (PushParameter input : (*arguments)) {
1876 Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()), 1876 Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()),
1877 g.TempImmediate(slot)); 1877 g.TempImmediate(slot));
1878 ++slot; 1878 ++slot;
1879 } 1879 }
1880 } else { 1880 } else {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 // static 2021 // static
2022 MachineOperatorBuilder::AlignmentRequirements 2022 MachineOperatorBuilder::AlignmentRequirements
2023 InstructionSelector::AlignmentRequirements() { 2023 InstructionSelector::AlignmentRequirements() {
2024 return MachineOperatorBuilder::AlignmentRequirements:: 2024 return MachineOperatorBuilder::AlignmentRequirements::
2025 FullUnalignedAccessSupport(); 2025 FullUnalignedAccessSupport();
2026 } 2026 }
2027 2027
2028 } // namespace compiler 2028 } // namespace compiler
2029 } // namespace internal 2029 } // namespace internal
2030 } // namespace v8 2030 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698