%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
#!/bin/bash # Collect the number of [[deprecated]] calls detected when compiling V8. # Requires "v8_deprecate_get_isolate = true" to be useful. set -e if [ -z "$1" ]; then (>&2 echo "Usage: collect_deprecation_stats.sh [<outdir>|<log>]") exit 1 fi if [ -d "$1" ]; then OUTDIR=$1 FULL_LOG=/tmp/get_isolate_deprecation.log gn clean "$OUTDIR" autoninja -C "$OUTDIR" > $FULL_LOG else FULL_LOG=$1 fi FILTERED_LOG=/tmp/filtered_isolate_deprecation.log UNIQUE_WARNINGS_LOG=/tmp/unique_warnings.log grep "warning:" "$FULL_LOG" | sed $' s|^\.\./\.\./||; s/: warning: \'/: /; # strip everything after deprecated function name (including template param). s/\(<.*>\)\\?\'.*//' > $FILTERED_LOG sort -u $FILTERED_LOG > $UNIQUE_WARNINGS_LOG echo "Total deprecated calls: $(wc -l < $UNIQUE_WARNINGS_LOG)" cut -f2 -d' ' $UNIQUE_WARNINGS_LOG | sort | uniq -c