Bug 1804254 - Part 1: Replace ImportEntryObject with native ImportEntry r=arai
commited7231e1a18165d024578091c84eae9ae31a10bc
authorJon Coppeard <jcoppeard@mozilla.com>
Wed, 7 Dec 2022 11:28:27 +0000 (7 11:28 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Wed, 7 Dec 2022 11:28:27 +0000 (7 11:28 +0000)
tree478b80588803d870f0dcdf7a0b20f144ddd3d033
parent477082009fa0b4f65d41ca2c7e53c6a0e5c25401
Bug 1804254 - Part 1: Replace ImportEntryObject with native ImportEntry r=arai

This removes the JSObject per import entry and the ArrayObject holding them,
replacing them with a vector of ImportEntry native objects.

This was straightforward apart from the changes to the shell wrappers where I
had to add a new set of defines for dealing with native classes.

Differential Revision: https://phabricator.services.mozilla.com/D163947
js/src/builtin/ModuleObject.cpp
js/src/builtin/ModuleObject.h
js/src/shell/ShellModuleObjectWrapper.cpp
js/src/vm/Modules.cpp