Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 1c32045460d8e6bb8eb31adcf9a7a8d8ae55961f..b10350d7fbb976ff627d7cb39790a3a76e72d082 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -408,5 +408,13 @@ RUNTIME_FUNCTION(Runtime_HarmonyToString) { |
// TODO(caitp): Delete this runtime method when removing --harmony-tostring |
return isolate->heap()->ToBoolean(FLAG_harmony_tostring); |
} |
+ |
+ |
+RUNTIME_FUNCTION(Runtime_GetTypeFeedbackVector) { |
+ SealHandleScope shs(isolate); |
+ DCHECK(args.length() == 1); |
+ CONVERT_ARG_CHECKED(JSFunction, function, 0); |
+ return function->shared()->feedback_vector(); |
+} |
} |
} // namespace v8::internal |