diff options
author | sergey ignatov <sergign60@mail.ru> | 2017-10-27 17:25:19 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-10-27 17:25:19 +0300 |
commit | 784a20d26737728f489c8c1f0298a59d7c41e9b8 (patch) | |
tree | 1957771090c6ed2d4b4d659285a8a08527b05bbf /src/ILCompiler.Compiler | |
parent | 35f68948d5ef585b67f820efd5936091f67b5418 (diff) |
Added wrappers for Div and Mod helpers (#4788)
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r-- | src/ILCompiler.Compiler/src/Compiler/JitHelper.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/JitHelper.cs b/src/ILCompiler.Compiler/src/Compiler/JitHelper.cs index eac4eb522..8264090c5 100644 --- a/src/ILCompiler.Compiler/src/Compiler/JitHelper.cs +++ b/src/ILCompiler.Compiler/src/Compiler/JitHelper.cs @@ -169,29 +169,29 @@ namespace ILCompiler break; case ReadyToRunHelper.Mod: - mangledName = "RhpIMod"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "IMod"); break; case ReadyToRunHelper.UMod: - mangledName = "RhpUMod"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "UMod"); break; case ReadyToRunHelper.ULMod: - mangledName = "RhpULMod"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "ULMod"); break; case ReadyToRunHelper.LMod: - mangledName = "RhpLMod"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "LMod"); break; case ReadyToRunHelper.Div: - mangledName = "RhpIDiv"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "IDiv"); break; case ReadyToRunHelper.UDiv: - mangledName = "RhpUDiv"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "UDiv"); break; case ReadyToRunHelper.ULDiv: - mangledName = "RhpULDiv"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "ULDiv"); break; case ReadyToRunHelper.LDiv: - mangledName = "RhpLDiv"; + methodDesc = context.GetHelperEntryPoint("MathHelpers", "LDiv"); break; case ReadyToRunHelper.LRsz: |