mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-01 07:33:12 +08:00
- In a module that counts executions for a profile (--profile-generate, also the context-sensitive second phase), every x86-64-v3 copy keeps its code. A copy that took its baseline copy's body would increment the baseline copy's counters, and a --profile-use build would then treat the x86-64-v3 copy as never run. - With a profile, a copy keeps its code when its baseline copy ran fewer times. A profile collected on an x86-64-v3 machine gives the baseline copies no runs, and their bodies are optimized as cold code.