• clemensh's avatar
    [wasm] Pass byte position for trapping instructions · bf1797b1
    clemensh authored
    During ast decoding and turbofan graph construction, we explicitely pass
    the byte offset for all instructions which potentially trap.
    The byte offset is finally passed to the runtime function which throws
    the actual error, but it is not used there yet.
    
    The WasmGraphBuilder::Binop and Unop methods have a default value of -1
    for the position, which allows for more compact code for all the
    functions which assemble bigger snippets from the primitive operations.
    Whenever the position is actually used for generating a trap, we
    check that it is not negative.
    
    R=titzer@chromium.org
    
    Review-Url: https://codereview.chromium.org/1915123006
    Cr-Commit-Position: refs/heads/master@{#35925}
    bf1797b1
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-atomics.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-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-json.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-simd.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-uri.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...