• Milad Fa's avatar
    PPC/s390: [turboprop] Fix IET to check optimization marker before optimized code · f4d5e8a3
    Milad Fa authored
    Port 808a5d76
    
    Original Commit Message:
    
        InterpreterEntryTrampoline checks
        1. If there is any optimization marker, and process the marker by
        calling the correct runtime function
        2. If there is any optimized code, it installs optimized code and starts
        executing optimized code.
    
        Earlier it was OK to do these two checks in any order, since it wasn't
        possible that we have both a marker and optimized code. Turboprop code
        calls out to IET to process the optimization marker / install next tier
        optimized code. So we have to check for optimization marker before we
        check for optimized code.
    
    R=mythria@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: I37f470809e244f675862e109ae609170a2b019f0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2513792Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
    Commit-Queue: Milad Fa <mfarazma@redhat.com>
    Cr-Commit-Position: refs/heads/master@{#70925}
    f4d5e8a3
builtins-ppc.cc 130 KB