Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 536534713035786f8fdf6bd283dd566261e09e52..126ca1bdc5dd5fa75880548d64ea0249f5e29e3a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10580,7 +10580,7 @@ void SharedFunctionInfo::InitFromFunctionLiteral( |
shared_info->set_dont_cache( |
lit->flags()->Contains(AstPropertiesFlag::kDontCache)); |
shared_info->set_kind(lit->kind()); |
- shared_info->set_uses_super_property(lit->uses_super_property()); |
+ shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); |
shared_info->set_asm_function(lit->scope()->asm_function()); |
} |