summaryrefslogtreecommitdiff
path: root/src/vm/method.hpp
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2018-08-28 17:29:40 -0700
committerGitHub <noreply@github.com>2018-08-28 17:29:40 -0700
commit246ae784b826c79098a1b3967083c66187786197 (patch)
tree67b21a573bb1d89ba446f8a5bf38d077d35bed1e /src/vm/method.hpp
parent68a1167f6d12ca10ce6ce6ec9d3951e59912e4ce (diff)
downloadcoreclr-246ae784b826c79098a1b3967083c66187786197.tar.gz
coreclr-246ae784b826c79098a1b3967083c66187786197.tar.bz2
coreclr-246ae784b826c79098a1b3967083c66187786197.zip
Enable mixed mode assembly loading (#19542)
Bring back functionality for loading IJW assemblies and calling managed->native. Also add workaround to test case for the C++ compiler inserting calls to mscoree.
Diffstat (limited to 'src/vm/method.hpp')
-rw-r--r--src/vm/method.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vm/method.hpp b/src/vm/method.hpp
index 56acf46635..7674f5e2f9 100644
--- a/src/vm/method.hpp
+++ b/src/vm/method.hpp
@@ -2680,6 +2680,17 @@ public:
// Atomically set specified flags. Only setting of the bits is supported.
void InterlockedSetNDirectFlags(WORD wFlags);
+ void SetIsEarlyBound()
+ {
+ LIMITED_METHOD_CONTRACT;
+ ndirect.m_wFlags |= kEarlyBound;
+ }
+
+ BOOL IsEarlyBound()
+ {
+ LIMITED_METHOD_CONTRACT;
+ return (ndirect.m_wFlags & kEarlyBound) != 0;
+ }
BOOL IsNativeAnsi() const
{
@@ -2912,6 +2923,7 @@ public:
}
#endif // defined(_TARGET_X86_)
+ VOID InitEarlyBoundNDirectTarget();
// In AppDomains, we can trigger declarer's cctor when we link the P/Invoke,
// which takes care of inlined calls as well. See code:NDirect.NDirectLink.