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

Unified Diff: test/unittests/compiler/escape-analysis-unittest.cc

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: test/unittests/compiler/escape-analysis-unittest.cc
diff --git a/test/unittests/compiler/escape-analysis-unittest.cc b/test/unittests/compiler/escape-analysis-unittest.cc
index c40dbab47bd0469588c292d1a3dc8dc1d7e79544..3a233d6872f9baacebd9f5491b516ae6f90028b6 100644
--- a/test/unittests/compiler/escape-analysis-unittest.cc
+++ b/test/unittests/compiler/escape-analysis-unittest.cc
@@ -119,9 +119,8 @@
if (!control) {
control = control_;
}
- Node* zero = graph()->NewNode(common()->Int32Constant(0));
- return control_ = graph()->NewNode(common()->Return(), zero, value, effect,
- control);
+ return control_ =
+ graph()->NewNode(common()->Return(), value, effect, control);
}
void EndGraph() {
@@ -225,7 +224,7 @@
Transformation();
- ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 0));
}
@@ -251,7 +250,7 @@
Transformation();
- ASSERT_EQ(load, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(load, NodeProperties::GetValueInput(result, 0));
}
@@ -273,7 +272,7 @@
Transformation();
- ASSERT_EQ(allocation, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(allocation, NodeProperties::GetValueInput(result, 0));
}
@@ -301,7 +300,7 @@
Transformation();
- ASSERT_EQ(finish1, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(finish1, NodeProperties::GetValueInput(result, 0));
}
@@ -334,7 +333,7 @@
Transformation();
- ASSERT_EQ(replacement_phi, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(replacement_phi, NodeProperties::GetValueInput(result, 0));
}
@@ -366,7 +365,7 @@
Transformation();
- ASSERT_EQ(load, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(load, NodeProperties::GetValueInput(result, 0));
}
@@ -401,7 +400,7 @@
Transformation();
- ASSERT_EQ(allocation, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(allocation, NodeProperties::GetValueInput(result, 0));
}
@@ -426,7 +425,7 @@
Transformation();
- ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 0));
}
@@ -462,7 +461,7 @@
Transformation();
- ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 0));
Node* object_state = NodeProperties::GetValueInput(state_values1, 0);
ASSERT_EQ(object_state->opcode(), IrOpcode::kObjectState);
ASSERT_EQ(1, object_state->op()->ValueInputCount());
@@ -502,7 +501,7 @@
Transformation();
- ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 1));
+ ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 0));
Node* object_state = NodeProperties::GetValueInput(state_values1, 0);
ASSERT_EQ(object_state->opcode(), IrOpcode::kObjectState);
« no previous file with comments | « test/unittests/compiler/effect-control-linearizer-unittest.cc ('k') | test/unittests/compiler/graph-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698