• Jakob Kummerow's avatar
    [cleanup] Consolidate ToWord32/ToNumeric helpers · ab25316c
    Jakob Kummerow authored
    as well as "BitwiseOp". Builtins and Interpreter bytecode handlers need
    quite a bit of similar functionality with minor differences.
    This CL factors out and generalizes the TaggedToNumeric[WithFeedback]
    and the TaggedToWord[OrBigInt][WithFeedback] groups of helpers into one
    shared implementation each in the CodeStubAssembler.
    
    Bug: v8:6921
    Change-Id: Iae5dcc4c50c7fde3423f801cb5484de337381ce6
    Reviewed-on: https://chromium-review.googlesource.com/721606
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48798}
    ab25316c
builtins-number-gen.cc 31.1 KB