• Andreas Haas's avatar
    [wasm] Reduce size of the trap handler ool code · ab7bd9f4
    Andreas Haas authored
    With this CL we use the same optimizations for the trap handler ool code
    which we already use for trap-if.
    
    * Call a builtin instead of calling the runtime directly.
    * Use one call per ool code instead of a source position parameter.
    * Do not pass the trap reason as parameter.
    
    R=titzer@chromium.org, eholk@chromium.org
    
    Change-Id: Ieef6da96f340269c3e91efd21ac24e61a42193f4
    Reviewed-on: https://chromium-review.googlesource.com/684436Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48168}
    ab7bd9f4
machine-operator.cc 50.4 KB