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 2f106df21ea341a276e8bdc1f5cdb74904354375..6f43c4e8f42cbcd6d3a67b7ff393507e1f7bf3d8 100644 |
--- a/src/compiler/js-type-feedback-lowering.cc |
+++ b/src/compiler/js-type-feedback-lowering.cc |
@@ -41,10 +41,9 @@ Reduction JSTypeFeedbackLowering::ReduceJSLoadNamed(Node* node) { |
// We need to make optimistic assumptions to continue. |
if (!(flags() & kDeoptimizationEnabled)) return NoChange(); |
LoadNamedParameters const& p = LoadNamedParametersOf(node->op()); |
- Handle<TypeFeedbackVector> vector; |
- if (!p.feedback().vector().ToHandle(&vector)) return NoChange(); |
+ if (p.feedback().vector().is_null()) return NoChange(); |
if (p.name().is_identical_to(factory()->length_string())) { |
- LoadICNexus nexus(vector, p.feedback().slot()); |
+ LoadICNexus nexus(p.feedback().vector(), p.feedback().slot()); |
MapHandleList maps; |
if (nexus.ExtractMaps(&maps) > 0) { |
for (Handle<Map> map : maps) { |