• zhengxing.li's avatar
    X87: [Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple. · a4414c95
    zhengxing.li authored
      port 84f8a506 (r33334)
    
      original commit message:
      Adds a ForInPrepare Runtime function which returns a triple of
      cache_type, cache_array and cache_length.
    
      This requires adding support to CEntryStub to call runtime functions
      which return a ObjectTriple - a struct containing three Object*
      pointers. Also did some cleanup of the x64 CEntryStub to avoid
      replicated code.
    
      Replaces the interpreter's use of the ad-hock InterpreterForInPrepare
      Runtime function with ForInPrepare in preparation for fixing deopt in
      BytecodeGraphBuilder for ForIn (which will be done in a followup CL).
    
      MIPS port contributed by Balazs Kilvady <balazs.kilvady@imgtec.com>.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1603493002
    
    Cr-Commit-Position: refs/heads/master@{#33352}
    a4414c95
macro-assembler-x87.h 42.7 KB