• zhengxing.li's avatar
    X87: [ic] Use the CallFunction builtin to invoke accessors. · 96ddf420
    zhengxing.li authored
      port 6df9a22c (r35187)
    
      original commit message:
      The HandlerCompiler did not properly handle the weird edge case when a
      sloppy mode function was installed as an accessor on one of the value
      wrapper prototypes and then accessed via a load from a primitive value.
      In this case we just passed the primitive value untouched instead of
      properly wrapping it first. The CallFunction builtin properly deals with
      all the funny edge cases, so we use it instead of duplicating almost all
      of the logic here (the performance difference is neglible).
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1884293003
    
    Cr-Commit-Position: refs/heads/master@{#35522}
    96ddf420
handler-compiler-x87.cc 28.5 KB