• Clemens Hammacher's avatar
    [test] Modernize value helpers · f0d69fc9
    Clemens Hammacher authored
    This CL changes the usage pattern from
    FOR_XXX_VALUES(i) { Use(*i); }
    to
    FOR_XXX_VALUES(i) { Use(i); }
    which is way more intuitive.
    
    Note that the replacement in the uses was done via regular expression,
    so it's purely mechanical. In two locations I removed unneeded braces
    around the macro, because they confused clang-format.
    I plan to do more cleanups (remove redundant assignments within the
    FOR_XXX_VALUES body) in a follow-up CL.
    
    R=mstarzinger@chromium.org
    
    Bug: v8:8562
    Change-Id: I4329bfcf34e5b077d19b50f4204ceb3b4340fe61
    Reviewed-on: https://chromium-review.googlesource.com/c/1449615
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59287}
    f0d69fc9
test-run-machops.cc 214 KB