• Jakob Kummerow's avatar
    [ubsan] Change Address typedef to uintptr_t · 2459046c
    Jakob Kummerow authored
    The "Address" type is V8's general-purpose type for manipulating memory
    addresses. Per the C++ spec, pointer arithmetic and pointer comparisons
    are undefined behavior except within the same array; since we generally
    don't operate within a C++ array, our general-purpose type shouldn't be
    a pointer type.
    
    Bug: v8:3770
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: Ib96016c24a0f18bcdba916dabd83e3f24a1b5779
    Reviewed-on: https://chromium-review.googlesource.com/988657
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52601}
    2459046c
bytecode-decoder.h 1.85 KB