• zhengxing.li's avatar
    X87: [Interpreter] Changes GenerateDoubleToObject to push and pop rsi value. · a0d2f240
    zhengxing.li authored
      port e6b6e554 (r35163)
    
      original commit message:
      In the earlier implementation of GenerateDoubleToObject the context
      is loaded from the parent's frame. rsi is clobbered because it is used
      to store kHoleNan constnat. It is not always safe to peek at
      the parents frame. Bytecode handlers have TypedFrame and the type of
      frame is stored at FP + 1. GenerateDoubleToObject expects context
      to be store at that place. In the current implementation rsi is pushed
      onto the stack and is popped when exiting this function.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1884873007
    
    Cr-Commit-Position: refs/heads/master@{#35478}
    a0d2f240
codegen-x87.cc 20.6 KB