summaryrefslogtreecommitdiff
path: root/src/gc/gcscan.h
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2017-03-21 22:00:12 -0700
committerGitHub <noreply@github.com>2017-03-21 22:00:12 -0700
commitd5906ff3e0d0f864c1432f1f39d586ca3d79fbb6 (patch)
tree64bfe5037981c973e0db27fd8635971c06e8a24c /src/gc/gcscan.h
parentf4b58a22dfe6336e90d587ef3457af2070a09afc (diff)
downloadcoreclr-d5906ff3e0d0f864c1432f1f39d586ca3d79fbb6.tar.gz
coreclr-d5906ff3e0d0f864c1432f1f39d586ca3d79fbb6.tar.bz2
coreclr-d5906ff3e0d0f864c1432f1f39d586ca3d79fbb6.zip
[Local GC] Forbid inclusion of gcscan.h from VM and DAC directories (#10332)
* Forbid inclusion of gcscan.h from VM and DAC directories * Address code review feedback - hoist IsGCHeapInitialized check to an assert, since the heap should definitely be initialized if we are validating objects that ostensibly came from it
Diffstat (limited to 'src/gc/gcscan.h')
-rw-r--r--src/gc/gcscan.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gc/gcscan.h b/src/gc/gcscan.h
index c17f0ce006..306d5f23a3 100644
--- a/src/gc/gcscan.h
+++ b/src/gc/gcscan.h
@@ -89,11 +89,7 @@ class GCScan
static void VerifyHandleTable(int condemned, int max_gen, ScanContext* sc);
-#ifdef DACCESS_COMPILE
- SVAL_DECL(int32_t, m_GcStructuresInvalidCnt);
-#else
static VOLATILE(int32_t) m_GcStructuresInvalidCnt;
-#endif //DACCESS_COMPILE
};
// These two functions are utilized to scan the heap if requested by ETW