blob: 62f238efe4bfe2498d342155421915283062d89c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
From 23ab0b67eec1cc89a17cbdf745c433bab38b9506 Mon Sep 17 00:00:00 2001
From: Jan Kotas <jkotas@microsoft.com>
Date: Fri, 23 Feb 2018 00:17:45 -0800
Subject: [PATCH 31/32] Fix build break with older VS versions (#16522)
---
src/vm/methodtable.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h
index c2c2564..9dc24d8 100644
--- a/src/vm/methodtable.h
+++ b/src/vm/methodtable.h
@@ -2168,7 +2168,7 @@ public:
#endif
}
- inline static bool IsParentMethodTableTagged(PTR_MethodTable pMT)
+ inline static BOOL IsParentMethodTableTagged(PTR_MethodTable pMT)
{
LIMITED_METHOD_CONTRACT;
TADDR base = dac_cast<TADDR>(pMT) + offsetof(MethodTable, m_pParentMethodTable);
@@ -2178,9 +2178,9 @@ public:
bool GetFlagHasIndirectParent()
{
#ifdef FEATURE_PREJIT
- return GetFlag(enum_flag_HasIndirectParent);
+ return !!GetFlag(enum_flag_HasIndirectParent);
#else
- return FALSE;
+ return false;
#endif
}
--
2.7.4
|