projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926b0cf
)
Fix warning causing error in warning as error (Windows) (dotnet/coreclr#21656)
author
Ben Adams
<thundercat@illyriad.co.uk>
Mon, 24 Dec 2018 02:09:46 +0000
(
02:09
+0000)
committer
Jan Kotas
<jkotas@microsoft.com>
Mon, 24 Dec 2018 02:09:46 +0000
(18:09 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
5b0f1a1d183f83a077771feca7cea90b8159863a
src/coreclr/src/vm/jitinterface.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/jitinterface.cpp
b/src/coreclr/src/vm/jitinterface.cpp
index
0730f37
..
c7d55b5
100644
(file)
--- a/
src/coreclr/src/vm/jitinterface.cpp
+++ b/
src/coreclr/src/vm/jitinterface.cpp
@@
-6033,8
+6033,8
@@
CorInfoHelpFunc CEEInfo::getNewHelperStatic(MethodTable * pMT, bool * pHasSideEf
// Slow helper is the default
CorInfoHelpFunc helper = CORINFO_HELP_NEWFAST;
-
bool
hasFinalizer = pMT->HasFinalizer();
-
bool
isComObjectType = pMT->IsComObjectType();
+
BOOL
hasFinalizer = pMT->HasFinalizer();
+
BOOL
isComObjectType = pMT->IsComObjectType();
if (pHasSideEffects != nullptr)
{
@@
-6051,7
+6051,7
@@
CorInfoHelpFunc CEEInfo::getNewHelperStatic(MethodTable * pMT, bool * pHasSideEf
else
#endif
{
- *pHasSideEffects = hasFinalizer;
+ *pHasSideEffects =
!!
hasFinalizer;
}
}