Fix incorrect assignment of READYTORUN_HELPER_[Dbl|Flt][Rem/Round] (dotnet/coreclr...
authorTomáš Rylek <trylek@microsoft.com>
Mon, 7 Jan 2019 12:32:04 +0000 (13:32 +0100)
committerJan Kotas <jkotas@microsoft.com>
Mon, 7 Jan 2019 12:32:04 +0000 (04:32 -0800)
commitd586508356d55604e3dae6dd54530014a1835769
tree4b9ab6c0fd714f8d8244d1fb277f030c81c520d9
parentdd24c2c73cb15cb246b56caf2efd7f857c23db91
Fix incorrect assignment of READYTORUN_HELPER_[Dbl|Flt][Rem/Round] (dotnet/coreclr#21836)

Turns out there's a long-standing typo in CoreCLR that reverses
the helper enumeration values for DBL and FLT. This doesn't seem
to be a problem in the CoreCLR repo as such because it solely
uses the legacy identifiers CORINFO_HELP_DBLREM et al. We have
however ported the incorrect helper enumeration values into R2RDump
and ILCompiler. This change immediately fixes R2RDump as it resides
in the same repo, I'll send out the ILCompiler change in
a separate PR.

Commit migrated from https://github.com/dotnet/coreclr/commit/bcbb84df02d73a89dd13ea7fa2257f542202dd81
src/coreclr/src/inc/readytorunhelpers.h
src/coreclr/src/tools/r2rdump/R2RConstants.cs