Remove duplicate method name string initialization (#49963)
authorBruce Forstall <brucefo@microsoft.com>
Mon, 22 Mar 2021 17:47:07 +0000 (10:47 -0700)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 17:47:07 +0000 (10:47 -0700)
commit143103b07ccdbcd2e1637ccd9bff9ad7a4d4a993
tree84461e887fa33ce995c32cfdcde1bdafff7170e7
parentc32c058794037dfbbf23792fca5519326ae042b4
Remove duplicate method name string initialization (#49963)

Both `compInit` and `compCompile` were initializing the method/class/full
name strings. The call to `eeGetMethodFullName` is not cheap, and shows
up high on a SuperPMI replay trace.

Remove the duplicate initialization in `compCompile`.

Speeds up SuperPMI replay and asm diffs.
src/coreclr/jit/compiler.cpp