summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsandreenko <seandree@microsoft.com>2016-10-13 20:54:57 -0700
committerGitHub <noreply@github.com>2016-10-13 20:54:57 -0700
commit8ae6134fcec8fb50ccd0de07c2d167024fca570d (patch)
treef78851f0888deb3f272e30b1dbd597dae0d61424 /src
parent23bbcded42863b8fdac3f1018c698cd21803db44 (diff)
parent2c8352e34bde086d24cdade273b361c988f3d15c (diff)
downloadcoreclr-8ae6134fcec8fb50ccd0de07c2d167024fca570d.tar.gz
coreclr-8ae6134fcec8fb50ccd0de07c2d167024fca570d.tar.bz2
coreclr-8ae6134fcec8fb50ccd0de07c2d167024fca570d.zip
Merge pull request #7605 from sandreenko/core_rt_1982
Lower helper call inside PInvoke
Diffstat (limited to 'src')
-rw-r--r--src/jit/lower.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index c4e09bfd88..dc47bf03e8 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -2742,6 +2742,7 @@ void Lowering::InsertPInvokeCallProlog(GenTreeCall* call)
comp->fgMorphTree(helperCall);
BlockRange().InsertBefore(insertBefore, LIR::SeqTree(comp, helperCall));
+ LowerNode(helperCall); // helper call is inserted before current node and should be lowered here.
return;
}
#endif