[wasm] Reduce size of the trap handler ool code
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: Ben Titzer <titzer@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#48168}
Showing
Please
register
or
sign in
to comment