• 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...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...