Chromium Code Reviews

Unified Diff: src/objects.cc

Issue 1164073003: [es6] super.prop, eval and lazy functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Increment the preparse data version Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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());
}

Powered by Google App Engine