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

Side by Side Diff: src/compiler/machine-operator-unittest.cc

Issue 585413002: [turbofan] Remove extra attributes from MachineOperatorBuilder methods. (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
« no previous file with comments | « src/compiler/machine-operator-reducer-unittest.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/compiler/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 #include "src/compiler/operator-properties-inl.h" 6 #include "src/compiler/operator-properties-inl.h"
7 #include "testing/gtest-support.h" 7 #include "testing/gtest-support.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 kFullWriteBarrier)))); 162 kFullWriteBarrier))));
163 163
164 164
165 // ----------------------------------------------------------------------------- 165 // -----------------------------------------------------------------------------
166 // Pure operators. 166 // Pure operators.
167 167
168 168
169 namespace { 169 namespace {
170 170
171 struct PureOperator { 171 struct PureOperator {
172 const Operator* (MachineOperatorBuilder::*constructor)() const; 172 const Operator* (MachineOperatorBuilder::*constructor)();
173 IrOpcode::Value opcode; 173 IrOpcode::Value opcode;
174 int value_input_count; 174 int value_input_count;
175 int value_output_count; 175 int value_output_count;
176 }; 176 };
177 177
178 178
179 std::ostream& operator<<(std::ostream& os, const PureOperator& pop) { 179 std::ostream& operator<<(std::ostream& os, const PureOperator& pop) {
180 return os << IrOpcode::Mnemonic(pop.opcode); 180 return os << IrOpcode::Mnemonic(pop.opcode);
181 } 181 }
182 182
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 EXPECT_EQ(machine.Int64UDiv(), machine.IntUDiv()); 315 EXPECT_EQ(machine.Int64UDiv(), machine.IntUDiv());
316 EXPECT_EQ(machine.Int64Mod(), machine.IntMod()); 316 EXPECT_EQ(machine.Int64Mod(), machine.IntMod());
317 EXPECT_EQ(machine.Int64UMod(), machine.IntUMod()); 317 EXPECT_EQ(machine.Int64UMod(), machine.IntUMod());
318 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan()); 318 EXPECT_EQ(machine.Int64LessThan(), machine.IntLessThan());
319 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual()); 319 EXPECT_EQ(machine.Int64LessThanOrEqual(), machine.IntLessThanOrEqual());
320 } 320 }
321 321
322 } // namespace compiler 322 } // namespace compiler
323 } // namespace internal 323 } // namespace internal
324 } // namespace v8 324 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-reducer-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698