• jyan's avatar
    [compiler] Fix turbofan string allocation · fa5e0490
    jyan authored
    The hash field is supposed to be 4 bytes even in 64-bit. But the
    default parameter of StoreObjectFieldNoWriteBarrier using kTagged
    will generate 64-bit store. Fix by Replacing kTagged with kWord32.
    
    This causes ~200 test failures on big-endian, because hash field
    offset in BE is 12 instead of 8 in LE platforms.
    
    R=bmeurer@chromium.org, epertoso@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com
    BUG=
    
    Review-Url: https://codereview.chromium.org/2095003003
    Cr-Commit-Position: refs/heads/master@{#37256}
    fa5e0490
code-stub-assembler.cc 85.1 KB