summaryrefslogtreecommitdiff
path: root/src/vm/domainfile.cpp
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2018-09-06 19:37:30 -0700
committerGitHub <noreply@github.com>2018-09-06 19:37:30 -0700
commit9e976d515099c7708cf26cef7520b628564f5acf (patch)
tree3a29d4011d871007e7dc24713f056aaf2af70e51 /src/vm/domainfile.cpp
parent748b5a0a5a701b7f9803021313c620413e353fdc (diff)
downloadcoreclr-9e976d515099c7708cf26cef7520b628564f5acf.tar.gz
coreclr-9e976d515099c7708cf26cef7520b628564f5acf.tar.bz2
coreclr-9e976d515099c7708cf26cef7520b628564f5acf.zip
Enable IJW Native calling managed (#19750)
* Adds back code required to make IJW native->managed calls (if the runtime is already started) and includes a simple test.
Diffstat (limited to 'src/vm/domainfile.cpp')
-rw-r--r--src/vm/domainfile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm/domainfile.cpp b/src/vm/domainfile.cpp
index 6b30ee7c3a..12d3f3c579 100644
--- a/src/vm/domainfile.cpp
+++ b/src/vm/domainfile.cpp
@@ -1075,6 +1075,10 @@ void DomainFile::VtableFixups()
{
WRAPPER_NO_CONTRACT;
+#if !defined(CROSSGEN_COMPILE)
+ if (!GetCurrentModule()->IsResource())
+ GetCurrentModule()->FixupVTables();
+#endif // !CROSSGEN_COMPILE
}
void DomainFile::FinishLoad()