• gdeepti's avatar
    [wasm] Identify wasm functions with index into the function tables. · 5fc3ac29
    gdeepti authored
    Currently, the default name for wasm functions in generated code is 'wasm', tag wasm functions with the index into the function table to identify functions. Snippets of sample output with --print-code below.
    
    Before:
    --- Code ---
    kind = WASM_FUNCTION
    name = wasm
    compiler = turbofan
    
    After:
    --- Code ---
    kind = WASM_FUNCTION
    name = wasm#200
    compiler = turbofan
    
    R=mtrofin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2690113012
    Cr-Commit-Position: refs/heads/master@{#43296}
    5fc3ac29
wasm-compiler.h 15.3 KB