Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 3a66869d41d8f341e770091b658fadbe0904f4a6..757424df0cabdf911c2d551624f82c16de2b1017 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -49,7 +49,7 @@ RUNTIME_FUNCTION(Runtime_FunctionRemovePrototype) { |
CONVERT_ARG_CHECKED(JSFunction, f, 0); |
CHECK(f->RemovePrototype()); |
- f->shared()->set_construct_stub( |
+ f->shared()->SetConstructStub( |
*isolate->builtins()->ConstructedNonConstructable()); |
return isolate->heap()->undefined_value(); |