Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index d8b0e44396b96aedadb978e2e3faec87440d77f4..3b92d7f6ee36af67d0561e6d127c0c6972dd71e3 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -232,7 +232,7 @@ |
HandleScope scope(isolate); |
DCHECK(args.length() == 1); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); |
- function->ClearTypeFeedbackInfo(); |
+ function->shared()->ClearTypeFeedbackInfo(); |
Code* unoptimized = function->shared()->code(); |
if (unoptimized->kind() == Code::FUNCTION) { |
unoptimized->ClearInlineCaches(); |