summaryrefslogtreecommitdiff
path: root/src/vm/proftoeeinterfaceimpl.cpp
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-08-08 11:28:27 -0700
committerGitHub <noreply@github.com>2017-08-08 11:28:27 -0700
commit7590378d8a00d7c29ade23fada2ce79f4495b889 (patch)
tree2f621550b98e22430354d815e9a261671cddf50b /src/vm/proftoeeinterfaceimpl.cpp
parent488d562052e61dde32ff0593835acc2713e9a0d1 (diff)
parent76a572a65026f277c5c42b25fcb01cce4625b10f (diff)
downloadcoreclr-7590378d8a00d7c29ade23fada2ce79f4495b889.tar.gz
coreclr-7590378d8a00d7c29ade23fada2ce79f4495b889.tar.bz2
coreclr-7590378d8a00d7c29ade23fada2ce79f4495b889.zip
Merge pull request #12168 from gbalykov/remove-relocations-readonly
Partially remove relocations from SECTION_Readonly
Diffstat (limited to 'src/vm/proftoeeinterfaceimpl.cpp')
-rw-r--r--src/vm/proftoeeinterfaceimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/proftoeeinterfaceimpl.cpp b/src/vm/proftoeeinterfaceimpl.cpp
index 0493163287..8b55f06bd8 100644
--- a/src/vm/proftoeeinterfaceimpl.cpp
+++ b/src/vm/proftoeeinterfaceimpl.cpp
@@ -6843,7 +6843,7 @@ HRESULT ProfToEEInterfaceImpl::GetClassLayout(ClassID classID,
// running into - attempting to get the class layout for all types at module load time.
// If we don't detect this the runtime will AV during the field iteration below. Feel
// free to eliminate this check when a more complete solution is available.
- if (CORCOMPILE_IS_POINTER_TAGGED(*(typeHandle.AsMethodTable()->GetParentMethodTablePtr())))
+ if (typeHandle.AsMethodTable()->GetParentMethodTablePlainOrRelativePointerPtr()->IsTagged())
{
return CORPROF_E_DATAINCOMPLETE;
}