Index: src/runtime/runtime-classes.cc |
diff --git a/src/runtime/runtime-classes.cc b/src/runtime/runtime-classes.cc |
index 303122fc3967c5f3abfc9a088885c958457aac98..5448159513bda41508a1c8cd1f72e859be74197a 100644 |
--- a/src/runtime/runtime-classes.cc |
+++ b/src/runtime/runtime-classes.cc |
@@ -130,7 +130,7 @@ static MaybeHandle<Object> DefineClass(Isolate* isolate, |
// constructor. Hence we can reuse the builtins construct stub for derived |
// classes. |
Handle<Code> stub(isolate->builtins()->JSBuiltinsConstructStubForDerived()); |
- constructor->shared()->set_construct_stub(*stub); |
+ constructor->shared()->SetConstructStub(*stub); |
} |
JSFunction::SetPrototype(constructor, prototype); |