Description[wasm][asm.js] Don't squish error location because module end not reached.
We recently started emitting an error because a module's validation
doesn't reach the end (due to lack of exports).
This contained a mistake that prevents many most other types
of errors from actually getting out.
Ensuring export errors (or not reaching then end) doesn't clobber
other errors.
TODO(bradnelson): Figure out a way to structure tests so this gets
caught.
BUG=v8:4203
R=gdeepti@chromium.org
Review-Url: https://codereview.chromium.org/2632593002
Cr-Commit-Position: refs/heads/master@{#42301}
Committed: https://chromium.googlesource.com/v8/v8/+/7d86a478d22c8ea7dbf16789229e9e1c0b8687ec
Patch Set 1 #
Messages
Total messages: 9 (6 generated)
|