• mbrandy's avatar
    PPC: [Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple. · b2c246e0
    mbrandy authored
    Port 84f8a506
    
    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).
    
    R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1586153004
    
    Cr-Commit-Position: refs/heads/master@{#33342}
    b2c246e0
code-stubs-ppc.cc 196 KB