• Clemens Hammacher's avatar
    [wasm] Remove patching of generated stack traces · 4d717997
    Clemens Hammacher authored
    Our first implementation passed the source position as argument to the
    runtime function, which would then generate an Error object, patch the
    contained stack trace to point to the position given as argument, and
    then throw the Error.
    Since all our paths are now changed to call a builtin with proper
    source position information, we do not need to patch anything any more.
    
    R=ahaas@chromium.org
    
    Bug: v8:5007
    Change-Id: I70dce1b9fcf9966a13865c1c373f3e354908b009
    Reviewed-on: https://chromium-review.googlesource.com/732117Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48876}
    4d717997
messages.cc 43.4 KB