InternalFunction is currently the only Callee type that doesn't have a JSScope. This is to change InternalFunction to inherit from JSCallee so that it has a scope like all other callee types.
Created attachment 242373 [details] Patch
Created attachment 242374 [details] Fixed ChangeLog comment
Comment on attachment 242374 [details] Fixed ChangeLog comment I don't think it helps to make InternalFunction have a JSScope. The VM must handle callees that are not subclasses of JSCallee, since arbitrary callees are allowed in the language / DOM API -- for example, document.all(1).