• Pierre Langlois's avatar
    [turbofan][wasm] Fix --trace-turbo with compiling a WASM function. · 7927d646
    Pierre Langlois authored
    The --trace-turbo flag would cause a crash when compiling a WASM_FUNCTION. It
    was caused by assuming the OptimizedCompilationInfo had a SharedFunctionInfo
    attached if the code isn't a stub and wasm functions are not considered as such.
    
    In order to test this, we've added a new flag to specify were to dump JSON
    files: --trace-turbo-path. This is used to make sure we do not leave lots of
    files behind in the top-level directory. It should be useful as standalone
    feature too.
    
    
    Change-Id: Ia9442638d28100bea45a8683fb233803cc5393f2
    Reviewed-on: https://chromium-review.googlesource.com/1030555
    Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
    Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53153}
    7927d646
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...