[Local GC] Forbid inclusion of gcscan.h from VM and DAC directories (#10332)
authorSean Gillespie <sean@swgillespie.me>
Wed, 22 Mar 2017 05:00:12 +0000 (22:00 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Mar 2017 05:00:12 +0000 (22:00 -0700)
commitd5906ff3e0d0f864c1432f1f39d586ca3d79fbb6
tree64bfe5037981c973e0db27fd8635971c06e8a24c
parentf4b58a22dfe6336e90d587ef3457af2070a09afc
[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
13 files changed:
src/debug/daccess/enummem.cpp
src/debug/daccess/request.cpp
src/debug/daccess/request_svr.cpp
src/debug/ee/dactable.cpp
src/gc/gcee.cpp
src/gc/gcimpl.h
src/gc/gcinterface.h
src/gc/gcscan.cpp
src/gc/gcscan.h
src/inc/dacvars.h
src/vm/object.cpp
src/vm/stubhelpers.cpp
src/vm/syncblk.cpp