Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 5db4eeea2ea846a6d5fd7fdad000e441cbb28b53..a16e1295b99530ee12bebc580c7ed4b1c6b4aa60 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1038,8 +1038,8 @@ RUNTIME_FUNCTION(Runtime_FinalizeInstanceSize) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); |
- function->CompleteInobjectSlackTracking(); |
+ CONVERT_ARG_HANDLE_CHECKED(Map, initial_map, 0); |
+ initial_map->CompleteInobjectSlackTracking(); |
return isolate->heap()->undefined_value(); |
} |