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

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

Issue 1242303005: [turbofan]: Elide extra move when accessing stack or frame register (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: src/compiler/code-generator.cc Created 5 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/instruction.h ('k') | src/compiler/instruction-selector-impl.h » ('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/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 break; 88 break;
89 case kRepTagged: 89 case kRepTagged:
90 os << "|t"; 90 os << "|t";
91 break; 91 break;
92 default: 92 default:
93 os << "|?"; 93 os << "|?";
94 break; 94 break;
95 } 95 }
96 return os << "]"; 96 return os << "]";
97 } 97 }
98 case InstructionOperand::STACK_POINTER:
99 return os << "[stack_pointer]";
100 case InstructionOperand::FRAME_POINTER:
101 return os << "[frame_pointer]";
98 case InstructionOperand::INVALID: 102 case InstructionOperand::INVALID:
99 return os << "(x)"; 103 return os << "(x)";
100 } 104 }
101 UNREACHABLE(); 105 UNREACHABLE();
102 return os; 106 return os;
103 } 107 }
104 108
105 109
106 std::ostream& operator<<(std::ostream& os, 110 std::ostream& operator<<(std::ostream& os,
107 const PrintableMoveOperands& printable) { 111 const PrintableMoveOperands& printable) {
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 os << " B" << succ.ToInt(); 812 os << " B" << succ.ToInt();
809 } 813 }
810 os << "\n"; 814 os << "\n";
811 } 815 }
812 return os; 816 return os;
813 } 817 }
814 818
815 } // namespace compiler 819 } // namespace compiler
816 } // namespace internal 820 } // namespace internal
817 } // namespace v8 821 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/instruction-selector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698