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

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

Issue 470623010: [turbofan] Get rid of DefineAsDoubleRegister() and friends. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
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/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 730
731 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) { 731 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) {
732 FlagsContinuation cont(kSignedLessThanOrEqual, node); 732 FlagsContinuation cont(kSignedLessThanOrEqual, node);
733 VisitWord64Compare(node, &cont); 733 VisitWord64Compare(node, &cont);
734 } 734 }
735 735
736 736
737 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { 737 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) {
738 OperandGenerator g(this); 738 OperandGenerator g(this);
739 Emit(kArchTruncateDoubleToI, g.DefineAsRegister(node), 739 Emit(kArchTruncateDoubleToI, g.DefineAsRegister(node),
740 g.UseDoubleRegister(node->InputAt(0))); 740 g.UseRegister(node->InputAt(0)));
741 } 741 }
742 742
743 743
744 void InstructionSelector::VisitFloat64Equal(Node* node) { 744 void InstructionSelector::VisitFloat64Equal(Node* node) {
745 FlagsContinuation cont(kUnorderedEqual, node); 745 FlagsContinuation cont(kUnorderedEqual, node);
746 VisitFloat64Compare(node, &cont); 746 VisitFloat64Compare(node, &cont);
747 } 747 }
748 748
749 749
750 void InstructionSelector::VisitFloat64LessThan(Node* node) { 750 void InstructionSelector::VisitFloat64LessThan(Node* node) {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 1135
1136 1136
1137 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, 1137 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
1138 BasicBlock* deoptimization) {} 1138 BasicBlock* deoptimization) {}
1139 1139
1140 #endif // !V8_TURBOFAN_BACKEND 1140 #endif // !V8_TURBOFAN_BACKEND
1141 1141
1142 } // namespace compiler 1142 } // namespace compiler
1143 } // namespace internal 1143 } // namespace internal
1144 } // namespace v8 1144 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698