This because: 1. none of the functions currently taking a JSGlobalObject* actually need the globalObject. All of them need the VM. 2. the role of the VMInspector is to enable inspection of the VM. By requiring that it be passed a JSGlobalObject*, we were actually preventing the VMInspector from being used in code that have a VM to inspect but don't have a JSGlobalObject to use.
Created attachment 400871 [details] proposed patch.
Thanks for the reviews. Landed in r262467: <http://trac.webkit.org/r262467>.
<rdar://problem/63902729>