Index: src/compiler/js-context-specialization.cc |
diff --git a/src/compiler/js-context-specialization.cc b/src/compiler/js-context-specialization.cc |
index 1bf19ac7d6876017ef4cba9f634f85b0251a4738..a39b66fbc85a002665117d75a26ad20cc7ce8114 100644 |
--- a/src/compiler/js-context-specialization.cc |
+++ b/src/compiler/js-context-specialization.cc |
@@ -70,7 +70,7 @@ Reduction JSContextSpecializer::ReduceJSLoadContext(Node* node) { |
// TODO(titzer): record the specialization for sharing code across multiple |
// contexts that have the same value in the corresponding context slot. |
Node* constant = jsgraph_->Constant(value); |
- NodeProperties::ReplaceWithValue(node, constant); |
+ ReplaceWithValue(node, constant); |
return Replace(constant); |
} |