[test][cleanup] Clean up value-serializer-unittest.cc

Refactor the helpers to use return values instead of continuation functors.
This reduces compilation time in Release mode from 30s to 10s (Debug: 10->7s).
Also shorten the boilerplate code a bit.

Bug: v8:7310
Change-Id: Icf6309e4fd5478a1f55979112d1219bc7eaf4e6d
Reviewed-on: https://chromium-review.googlesource.com/938316
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51584}
This commit is contained in:
Jakob Kummerow 2018-02-26 17:27:12 -08:00 committed by Commit Bot
parent 0084d42dc9
commit ef2aba3325

File diff suppressed because it is too large Load Diff