Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 3fa831e8812ae76a76f429f0f4b9bee7fef6b3ad..8fac53e970322fee813cdfbd3e05cb07ef7a6239 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1744,7 +1744,7 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForNative( |
Handle<SharedFunctionInfo> shared = isolate->factory()->NewSharedFunctionInfo( |
name, fun->shared()->num_literals(), FunctionKind::kNormalFunction, code, |
Handle<ScopeInfo>(fun->shared()->scope_info())); |
- shared->set_construct_stub(*construct_stub); |
+ shared->SetConstructStub(*construct_stub); |
shared->set_feedback_metadata(fun->shared()->feedback_metadata()); |
// Copy the function data to the shared function info. |