[runtime] Throw error if RCS runtime function is used without RCS
%GetAndResetRuntimeCallStats(...) is changed to throw: - if the RCS compile-time flag was not set - if --runtime-call-stats / tracing RCS is not enabled This avoids a few debug cycles when trying to get RCS with official release builds that don't ship it. Change-Id: I92b1271b34b76439c2a5cddff853619c983549bd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3695563Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#81055}
Showing
Please
register
or
sign in
to comment