Remove static for function pointer
authorKyungwoo Lee <kyulee@microsoft.com>
Thu, 15 Jun 2017 22:55:34 +0000 (15:55 -0700)
committerKyungwoo Lee <kyulee@microsoft.com>
Thu, 15 Jun 2017 22:55:43 +0000 (15:55 -0700)
commit23b78592ec0cef9988a54eca480ec433d64fb556
tree30b7a134bb8acc8e7abe2fd006afee90b2dafeba
parent365cd5605b6d2e461e3d370c3584448a891269cb
Remove static for function pointer

qsort with static compare functions crashes with ALTJIT.
It appears due to _guard_check_icall_fptr in Windows 10.
Simply dropping static keyword works.

Commit migrated from https://github.com/dotnet/coreclr/commit/7d12221cbca178280c2f5d576a6fdc538bed35e8
src/coreclr/src/jit/compiler.cpp