File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5943,13 +5943,6 @@ void Lowering::InsertPInvokeMethodProlog()
5943
5943
noway_assert (comp->info .compUnmanagedCallCountWithGCTransition );
5944
5944
noway_assert (comp->lvaInlinedPInvokeFrameVar != BAD_VAR_NUM);
5945
5945
5946
- if (comp->opts .ShouldUsePInvokeHelpers ())
5947
- {
5948
- return ;
5949
- }
5950
-
5951
- JITDUMP (" ======= Inserting PInvoke method prolog\n " );
5952
-
5953
5946
LIR::Range& firstBlockRange = LIR::AsRange (comp->fgFirstBB );
5954
5947
5955
5948
const CORINFO_EE_INFO* pInfo = comp->eeGetEEInfo ();
@@ -5972,6 +5965,13 @@ void Lowering::InsertPInvokeMethodProlog()
5972
5965
DISPTREERANGE (firstBlockRange, store);
5973
5966
}
5974
5967
5968
+ if (comp->opts .ShouldUsePInvokeHelpers ())
5969
+ {
5970
+ return ;
5971
+ }
5972
+
5973
+ JITDUMP (" ======= Inserting PInvoke method prolog\n " );
5974
+
5975
5975
// Call runtime helper to fill in our InlinedCallFrame and push it on the Frame list:
5976
5976
// TCB = CORINFO_HELP_INIT_PINVOKE_FRAME(&symFrameStart);
5977
5977
GenTree* frameAddr = comp->gtNewLclVarAddrNode (comp->lvaInlinedPInvokeFrameVar );
You can’t perform that action at this time.
0 commit comments