• ivica.bogosavljevic's avatar
    MIPS: Fix unaligned read and write in wasm-debug.cc · 8e89201a
    ivica.bogosavljevic authored
    Fix crashes in two tests cctest/test-wasm-interpreter-entry/TestArgumentPassing_AllTypes and
    cctest/test-wasm-interpreter-entry/TestArgumentPassing_float_double related to accessing
    double value through unaligned pointer. This issue is present on those architectures
    that do not support unaligned access.
    
    TEST=cctest/test-wasm-interpreter-entry/TestArgumentPassing_AllTypes,
         cctest/test-wasm-interpreter-entry/TestArgumentPassing_float_double
    BUG=
    
    Review-Url: https://codereview.chromium.org/2705253003
    Cr-Commit-Position: refs/heads/master@{#43387}
    8e89201a
wasm-debug.cc 16.7 KB