projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b777f7
)
Fix PInvoke Inline decision (#8975)
author
Michelle McDaniel
<adiaaida@gmail.com>
Thu, 19 Jan 2017 04:57:50 +0000
(20:57 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Thu, 19 Jan 2017 04:57:50 +0000
(20:57 -0800)
Originally, the condition was !impCanPInvokeInline, but when change
1e63ca0
pulled out impCanPInvokeInlineCall, the condition was flipped.
This was exposed by an internal debugger test.
Fixes DevDiv 366669.
src/jit/importer.cpp
patch
|
blob
|
history
diff --git
a/src/jit/importer.cpp
b/src/jit/importer.cpp
index 1d9144b68f48dc0ece7fc7ed4a9e6a61478b0fe3..026628dbee00e6f18171f0bb2f4e333b3923b3fa 100644
(file)
--- a/
src/jit/importer.cpp
+++ b/
src/jit/importer.cpp
@@
-5582,7
+5582,7
@@
void Compiler::impCheckForPInvokeCall(
// profitability checks
if (!(opts.jitFlags->IsSet(JitFlags::JIT_FLAG_IL_STUB) && IsTargetAbi(CORINFO_CORERT_ABI)))
{
- if (impCanPInvokeInline())
+ if (
!
impCanPInvokeInline())
{
return;
}