Index: src/compiler/load-elimination.cc |
diff --git a/src/compiler/load-elimination.cc b/src/compiler/load-elimination.cc |
index 4980bccacd277e550c089e473e4b2039bf97bd66..a451cfce732d18d7a25aaec7234474cbdb57157d 100644 |
--- a/src/compiler/load-elimination.cc |
+++ b/src/compiler/load-elimination.cc |
@@ -4,7 +4,6 @@ |
#include "src/compiler/load-elimination.h" |
-#include "src/compiler/common-operator.h" |
#include "src/compiler/graph.h" |
#include "src/compiler/node-properties.h" |
#include "src/compiler/simplified-operator.h" |
@@ -57,8 +56,8 @@ Reduction LoadElimination::ReduceLoadField(Node* node) { |
return Replace(value); |
} else { |
Node* renamed = graph()->NewNode( |
- common()->Guard(Type::Intersect(stored_value_type, load_type, |
- graph()->zone())), |
+ simplified()->TypeGuard(Type::Intersect( |
+ stored_value_type, load_type, graph()->zone())), |
value, NodeProperties::GetControlInput(node)); |
ReplaceWithValue(node, renamed); |
return Replace(renamed); |