Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 720a36b38432fe0fedaafd3e30de3602c6462828..165b7b2194cb3702c6c812465b24815ca1aa0a0a 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -163,7 +163,7 @@ RUNTIME_FUNCTION(Runtime_FunctionSetInstanceClassName) { |
CONVERT_ARG_CHECKED(JSFunction, fun, 0); |
CONVERT_ARG_CHECKED(String, name, 1); |
- fun->SetInstanceClassName(name); |
+ fun->shared()->set_instance_class_name(name); |
return isolate->heap()->undefined_value(); |
} |