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

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

Issue 1773053002: PPC: [turbofan] Further fixing ES6 tail call elimination in Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/ppc/code-generator-ppc.cc ('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/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 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 } 1768 }
1769 } 1769 }
1770 ++slot; 1770 ++slot;
1771 } 1771 }
1772 } 1772 }
1773 } 1773 }
1774 1774
1775 1775
1776 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } 1776 bool InstructionSelector::IsTailCallAddressImmediate() { return false; }
1777 1777
1778 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; }
1778 1779
1779 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) { 1780 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) {
1780 PPCOperandGenerator g(this); 1781 PPCOperandGenerator g(this);
1781 Emit(kPPC_DoubleExtractLowWord32, g.DefineAsRegister(node), 1782 Emit(kPPC_DoubleExtractLowWord32, g.DefineAsRegister(node),
1782 g.UseRegister(node->InputAt(0))); 1783 g.UseRegister(node->InputAt(0)));
1783 } 1784 }
1784 1785
1785 1786
1786 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) { 1787 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) {
1787 PPCOperandGenerator g(this); 1788 PPCOperandGenerator g(this);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1833 MachineOperatorBuilder::kFloat64RoundTruncate | 1834 MachineOperatorBuilder::kFloat64RoundTruncate |
1834 MachineOperatorBuilder::kFloat64RoundTiesAway | 1835 MachineOperatorBuilder::kFloat64RoundTiesAway |
1835 MachineOperatorBuilder::kWord32Popcnt | 1836 MachineOperatorBuilder::kWord32Popcnt |
1836 MachineOperatorBuilder::kWord64Popcnt; 1837 MachineOperatorBuilder::kWord64Popcnt;
1837 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1838 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1838 } 1839 }
1839 1840
1840 } // namespace compiler 1841 } // namespace compiler
1841 } // namespace internal 1842 } // namespace internal
1842 } // namespace v8 1843 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698