bind-gen: Improve the auto-insertion of SymbolDefinitionNode
The old implementation counted the number of "unique scope chains". This patch counts the number of "unique direct child scopes" which makes more sense to decide where a symbol definition should be inserted. Bug: 839389 Change-Id: I04eb2c2179fb8b95a97f1e85068dee9c4b4fa1d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1955249Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#722481}
Showing
Please register or sign in to comment