diff options
author | Scott Mosier <smosier@microsoft.com> | 2015-12-01 22:35:30 +0300 |
---|---|---|
committer | Scott Mosier <smosier@microsoft.com> | 2015-12-01 23:30:17 +0300 |
commit | 17232964a899c5403abbef1ab022f6d161f8b9ff (patch) | |
tree | e7d89f6e624a0f024e5580aa99401df4843bb0df /src/Native/Runtime/module.h | |
parent | cfd4ff91fca1d55fba75b73c9894fa5056f5d6fa (diff) |
Fix a few small issues
GC code for RO segments had some bugs because it had never been
tested. CoreCLR doesn't use RO segments. The fix is to update
sorted_table to keep both the segment memory and the segment
descriptors separately as key/value pairs. This isn't needed
for normal segments because they are the same, but with RO
segments the memory is in an executable file, while the descriptor
is dynamically allocated. I also changed "insure" to "ensure".
Changed HndEnumHandles to use a bool parameter instead of BOOL.
This side-steps some differences in the definition of BOOL that
led to some compilation issues.
Port LABELED_RETURN_ADDRESS changes from PN tree.
Fixed a couple of DAC issues.
Diffstat (limited to 'src/Native/Runtime/module.h')
-rw-r--r-- | src/Native/Runtime/module.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Native/Runtime/module.h b/src/Native/Runtime/module.h index d1b43bac8..2ffe80e92 100644 --- a/src/Native/Runtime/module.h +++ b/src/Native/Runtime/module.h @@ -16,18 +16,8 @@ struct GenericInstanceDesc; typedef SPTR(struct GenericInstanceDesc) PTR_GenericInstanceDesc; struct SimpleModuleHeader; -class Module -//#ifndef DACCESS_COMPILE - // TODO: JIT support in DAC - : public ICodeManager -//#endif +class Module : public ICodeManager { -#ifdef DACCESS_COMPILE - // The DAC does not support registration of dynamic code managers yet, but we need a space for the vtable used at runtime. - // TODO: JIT support in DAC - TADDR m_vptr; -#endif - friend class AsmOffsets; friend struct DefaultSListTraits<Module>; friend class RuntimeInstance; |