[Local GC] Fix a number of handle table interface violations (#12277)
authorSean Gillespie <segilles@microsoft.com>
Thu, 15 Jun 2017 19:45:12 +0000 (12:45 -0700)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 19:45:12 +0000 (12:45 -0700)
commitdda6b6136e21901842758970d831f31687913a35
tree07ea3363dc390bb6cda64975ba3e911711e115bf
parentd734877cd86016296fc6c6e884a2b119339545ec
[Local GC] Fix a number of handle table interface violations (#12277)

* Fix a smattering of GC handle table interface violations

Stub out a few other handle violations

* [Local GC] Add SetExtraInfoForHandle onto GC handle manager interface

* [Local GC] Changes uses of HndGetHandleADIndex to GetHandleContext

* Add HandleGetType to GC handle table interface

1) Change IGCHandleManager methods that take "int" to represent the type of a handle to HandleType, and fix callers to cast to HandleType
2) Add HandleFetchType to IGCHandleManager, returning a HandleType
3) Fix uses of handtablepriv's HandleFetchType and remove the GC directory from the include path

* 9 -> HNDTYPE_WEAK_WINRT, 0 -> HNDTYPE_WEAK_SHORT in assert
14 files changed:
src/debug/ee/debugger.cpp
src/gc/gchandletable.cpp
src/gc/gchandletableimpl.h
src/gc/gcinterface.h
src/vm/CMakeLists.txt
src/vm/appdomain.cpp
src/vm/appdomain.hpp
src/vm/encee.cpp
src/vm/gcenv.os.cpp
src/vm/gcheaputilities.cpp
src/vm/marshalnative.cpp
src/vm/rcwrefcache.cpp
src/vm/runtimehandles.cpp
src/vm/weakreferencenative.cpp