• zhiguo's avatar
    Add Base64 VLQ decoding support · ed915416
    zhiguo authored
    This CL adds the support for Base64 VLQ decoding, which is the base of
    parsing source map files (Version 3). With this support, the mappings of
    C/C++ source code and WASM bytecode could be built in V8 engine. The
    newly-added function is called VLQBase64Decode, which accepts two
    character to be decoded. Upon its return, the position is updated with
    the next start position. The unittest of this support is also added in
    this CL.
    
    argument: the Base64-encoded VLQ string and the position of first
    Change-Id: If0f32972ecd7488844478a7b93a0f10cc38b6a5d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1657421Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Commit-Queue: Zhiguo Zhou <zhiguo.zhou@intel.com>
    Cr-Commit-Position: refs/heads/master@{#62748}
    ed915416