Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4140159f9312ffb8ce5c83fa4a536997c99fd8cf..347ed38db28db5fda8b1a5f48d3e33ec23b94454 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2119,7 +2119,7 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
Handle<Code> construct_stub = |
is_constructor ? isolate()->builtins()->JSConstructStubGeneric() |
: isolate()->builtins()->ConstructedNonConstructable(); |
- share->set_construct_stub(*construct_stub); |
+ share->SetConstructStub(*construct_stub); |
share->set_instance_class_name(*Object_string()); |
share->set_function_data(*undefined_value(), SKIP_WRITE_BARRIER); |
share->set_script(*undefined_value(), SKIP_WRITE_BARRIER); |