Description[wasm] [asm.js] Avoid expensive GetLineNumber up front in asm-typer.
In switching to incremental parsing, we switched to pre-computing
line numbers for forward declarations. This is expensive,
because GetLineNumber reparses lines.
Also, switch typing maps to unordered_map (as they appear hot).
BUG=v8:4203
R=titzer@chromium.org
Committed: https://crrev.com/52fd3c1ec5b443de7333f1b53ed25cbc754bd412
Cr-Commit-Position: refs/heads/master@{#41525}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|