Index: src/compiler/load-elimination.cc |
diff --git a/src/compiler/load-elimination.cc b/src/compiler/load-elimination.cc |
index b76b187d5d1942571b7f36f132f0f710f19fa6f6..c78a283ca097847202e1b66ff79c62723ffbb133 100644 |
--- a/src/compiler/load-elimination.cc |
+++ b/src/compiler/load-elimination.cc |
@@ -36,7 +36,7 @@ Reduction LoadElimination::ReduceLoadField(Node* node) { |
if (object == NodeProperties::GetValueInput(effect, 0) && |
access == FieldAccessOf(effect->op())) { |
Node* const value = effect; |
- NodeProperties::ReplaceWithValue(node, value); |
+ ReplaceWithValue(node, value); |
return Replace(value); |
} |
break; |
@@ -45,7 +45,7 @@ Reduction LoadElimination::ReduceLoadField(Node* node) { |
if (access == FieldAccessOf(effect->op())) { |
if (object == NodeProperties::GetValueInput(effect, 0)) { |
Node* const value = NodeProperties::GetValueInput(effect, 1); |
- NodeProperties::ReplaceWithValue(node, value); |
+ ReplaceWithValue(node, value); |
return Replace(value); |
} |
// TODO(turbofan): Alias analysis to the rescue? |