-
Ng Zhi An authored
These helper macros declare the same variable (asm_code_comment), when used in 2 scopes (one inside another), we get a shadow variable. In all the current usages, we always have a ASM_CODE_COMMENT in the outer scope (which adds a comment with the function name), and in the inner scope uses a string. It is sufficient to fix these cases by giving the first case (function name) a different variable name. Bug: v8:12244,v8:12245 Change-Id: Ib23d9796f10937f27ce29913c0fa648501edbda8 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3283620Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/main@{#77930}
ef8e3e45