• Camillo Bruni's avatar
    Reland "[runtime] Use Isolate::ThrowAt with MessageLocation" · 447915ef
    Camillo Bruni authored
    This is a reland of eb6b4ce1
    
    Skip test that serializes Error which references a Script. All errors
    created by ThrowAt store the current Script under the
    error_script_symbol.
    
    Original change's description:
    > [runtime] Use Isolate::ThrowAt with MessageLocation
    >
    > Fix various missing source positions when reporting parse and compile
    > errors. Namely this fixes missing source positions when having invalid
    > module imports.
    >
    > - Use Isolate::ThrowAt with valid MessageLocation objects
    > - Change public Isolate::Throw to no longer accept MessageLocation to
    >   avoid misues
    > - Introduce private Isolate::ThrowInternal that accepts MessageLocation
    >
    > Bug: v8:6513
    > Change-Id: I3ee633c9fff8c9d361bddb37f56e28a50c280ec1
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2467839
    > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    > Reviewed-by: Marja Hölttä <marja@chromium.org>
    > Reviewed-by: Igor Sheludko <ishell@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70623}
    
    Bug: v8:6513
    Change-Id: Icba74f74178e28fbda0fd0c237eeb7bacbc33570
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2487123Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70741}
    447915ef
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...