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 17e0da44c98e57e6b36f99c9b8c6301f0f1f3872..1ea140651f70093baa6f43b2e6cb257f04ceb45c 100644 |
--- a/test/unittests/compiler/escape-analysis-unittest.cc |
+++ b/test/unittests/compiler/escape-analysis-unittest.cc |
@@ -140,11 +140,11 @@ class EscapeAnalysisTest : public GraphTest { |
// ---------------------------------Assertion Helper-------------------------- |
void ExpectReplacement(Node* node, Node* rep) { |
- EXPECT_EQ(rep, escape_analysis()->GetReplacement(node, node->id())); |
+ EXPECT_EQ(rep, escape_analysis()->GetReplacement(node)); |
} |
void ExpectReplacementPhi(Node* node, Node* left, Node* right) { |
- Node* rep = escape_analysis()->GetReplacement(node, node->id()); |
+ Node* rep = escape_analysis()->GetReplacement(node); |
ASSERT_NE(nullptr, rep); |
ASSERT_EQ(IrOpcode::kPhi, rep->opcode()); |
EXPECT_EQ(left, NodeProperties::GetValueInput(rep, 0)); |
@@ -270,7 +270,7 @@ TEST_F(EscapeAnalysisTest, BranchNonEscape) { |
ExpectVirtual(allocation); |
ExpectReplacementPhi(load, object1, object2); |
- Node* replacement_phi = escape_analysis()->GetReplacement(load, load->id()); |
+ Node* replacement_phi = escape_analysis()->GetReplacement(load); |
Transformation(); |