Chromium Code Reviews

Unified Diff: test/compiler-unittests/instruction-selector-unittest.cc

Issue 470593002: Unify MachineType and RepType. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/compiler-unittests/instruction-selector-unittest.cc
diff --git a/test/compiler-unittests/instruction-selector-unittest.cc b/test/compiler-unittests/instruction-selector-unittest.cc
index 70186529afbee0e083190c965dc2a1e7d098f351..a590fc3b7cab9f7492cea254e6b0c4472ff3b3c1 100644
--- a/test/compiler-unittests/instruction-selector-unittest.cc
+++ b/test/compiler-unittests/instruction-selector-unittest.cc
@@ -63,7 +63,7 @@ InstructionSelectorTest::Stream InstructionSelectorTest::StreamBuilder::Build(
TARGET_TEST_F(InstructionSelectorTest, ReturnP) {
- StreamBuilder m(this, kMachineWord32, kMachineWord32);
+ StreamBuilder m(this, mInt32, mInt32);
m.Return(m.Parameter(0));
Stream s = m.Build(kAllInstructions);
ASSERT_EQ(2U, s.size());
@@ -75,7 +75,7 @@ TARGET_TEST_F(InstructionSelectorTest, ReturnP) {
TARGET_TEST_F(InstructionSelectorTest, ReturnImm) {
- StreamBuilder m(this, kMachineWord32);
+ StreamBuilder m(this, mInt32);
m.Return(m.Int32Constant(0));
Stream s = m.Build(kAllInstructions);
ASSERT_EQ(2U, s.size());

Powered by Google App Engine