• 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
graph-visualizer.h 2.61 KB