• zhengxing.li's avatar
    X87: [ia32] Propagate rmodes when computing MemoryOperands. · a88d4191
    zhengxing.li authored
      port 8c1ba59a (r36911)
    
      original commit message:
      RelocInfo modes were not propagated when computing
      MemoryOperands, on IA32. This needed to be fixed so that we can
      compile wasm code before creating instances, since the compiled code
      needs to be patched up for memory and globals references.
    
      This surfaces in asm-to-wasm scenarios.
    
      Added testing (rather, enhanced existing tests).
      Note patch#1 where we fail on ia32, and patch#2 with the fix.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2097583003
    Cr-Commit-Position: refs/heads/master@{#37245}
    a88d4191
code-generator-x87.cc 84.3 KB