Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: src/factory.cc

Issue 418143007: FYI Implementing 'super' keyword (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: one more test Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index e3a19a1e4ba988a0b19b00219e8ed50d83cb3a23..78627386c563a5ff6d66b0ea514b0171be06b797 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1212,6 +1212,7 @@ void Factory::InitializeFunction(Handle<JSFunction> function,
function->initialize_properties();
function->initialize_elements();
function->set_shared(*info);
+ function->set_home_object(*undefined_value());
function->set_code(info->code());
function->set_context(*context);
function->set_prototype_or_initial_map(*the_hole_value());

Powered by Google App Engine
This is Rietveld 408576698