Index: src/compiler/js-type-feedback-lowering.cc |
diff --git a/src/compiler/js-type-feedback-lowering.cc b/src/compiler/js-type-feedback-lowering.cc |
index d97a305d08cdcb822fb6305a4d6ee0f1c2cabf7e..b618bf65e022d53407d9678e8168e706bf1bba11 100644 |
--- a/src/compiler/js-type-feedback-lowering.cc |
+++ b/src/compiler/js-type-feedback-lowering.cc |
@@ -43,7 +43,7 @@ Reduction JSTypeFeedbackLowering::ReduceJSLoadNamed(Node* node) { |
// We need to make optimistic assumptions to continue. |
if (!(flags() & kDeoptimizationEnabled)) return NoChange(); |
LoadNamedParameters const& p = LoadNamedParametersOf(node->op()); |
- if (p.feedback().vector().is_null()) return NoChange(); |
+ if (!p.feedback().IsValid()) return NoChange(); // No feedback. |
if (p.name().is_identical_to(factory()->length_string())) { |
LoadICNexus nexus(p.feedback().vector(), p.feedback().slot()); |
MapHandleList maps; |