Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Greene <hippiehunterenator@gmail.com>2017-09-15 00:54:14 +0300
committerJan Kotas <jkotas@microsoft.com>2017-09-15 00:54:14 +0300
commitaa725e1db92d239db22b5c2f16698dfb08d75a4b (patch)
tree3b0ce0736013734ab4eaead4621f89f5ca77ddc3 /src/Native
parentd6d36fc42fc2c7cc1333b757abd4e36a75d82530 (diff)
replaced reverse pinvoke hack for CppCodeGen (#4499)
Diffstat (limited to 'src/Native')
-rw-r--r--src/Native/Bootstrap/main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Native/Bootstrap/main.cpp b/src/Native/Bootstrap/main.cpp
index 5b3ae5186..a4726c176 100644
--- a/src/Native/Bootstrap/main.cpp
+++ b/src/Native/Bootstrap/main.cpp
@@ -305,11 +305,6 @@ int main(int argc, char* argv[])
}
#endif // !CPPCODEGEN
-#ifdef CPPCODEGEN
- ReversePInvokeFrame frame;
- __reverse_pinvoke(&frame);
-#endif
-
#ifndef CPPCODEGEN
InitializeModules(osModule, __modules_a, (int)((__modules_z - __modules_a)), (void **)&c_classlibFunctions, _countof(c_classlibFunctions));
#else // !CPPCODEGEN
@@ -332,10 +327,6 @@ int main(int argc, char* argv[])
}
#endif
-#ifdef CPPCODEGEN
- __reverse_pinvoke_return(&frame);
-#endif
-
RhpShutdown();
return retval;