• jgruber's avatar
    Remove unused runtime functions · 1ee80eba
    jgruber authored
    The list of runtime function use counts was generated with:
    
    $ grep -o '^ *F(\w*' src/runtime/runtime.h | sed 's/^ *F(//' | sort | while read f; do USE_COUNT=$(git grep "\(Runtime::k\|Runtime::kInline\|%\|%_\)$f" | wc -l); echo $USE_COUNT $f; done
    
    This reduces libv8.so size by 59K on an x64 release build.
    
    Bug: v8:7310
    Change-Id: Ib4d097e63ed065f41bf73e9529e4354575be5229
    Reviewed-on: https://chromium-review.googlesource.com/934272Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51526}
    1ee80eba
runtime-module.cc 1.39 KB