Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit c42ad7b

Browse files
author
utatane.tea@gmail.com
committed
[ES6] prototyping module loader in JSC shell
https://bugs.webkit.org/show_bug.cgi?id=147876 Reviewed by Saam Barati. Source/JavaScriptCore: This patch implements ES6 Module Loader part. The implementation is based on the latest draft[1, 2]. The naive implementation poses several problems. This patch attempts to solve the spec issues and proposes the fix[3, 4, 5]. We construct the JSC internal module loader based on the ES6 Promises. The chain of the promises represents the dependency graph of the modules and it automatically enables asynchronous module fetching. To leverage the Promises internally, we use the InternalPromise landed in r188681. The loader has several platform-dependent hooks. The platform can implement these hooks to provide the functionality missing in the module loaders, like "how to fetch the resources". The method table of the JSGlobalObject is extended to accept these hooks from the platform. This patch focus on the loading part. So we don't create the module environment and don't link the modules yet. To test the current module progress easily, we add the `-m` option to the JSC shell. When this option is specified, we load the given script as the module. And to use the module loading inside the JSC shell, we added the simple loader hook for fetching. It fetches the module content from the file system. And to use the ES6 Map in the Loader implementation, we added @get and @set methods to the Map. But it conflicts with the existing `getPrivateName` method. Rename it to `lookUpPrivateName`. [1]: https://whatwg.github.io/loader/ [2]: whatwg/loader@214c7a6 [3]: whatwg/loader#66 [4]: whatwg/loader#67 [5]: whatwg/loader#68 [6]: https://bugs.webkit.org/show_bug.cgi?id=148136 * CMakeLists.txt: * DerivedSources.make: * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: * JavaScriptCore.xcodeproj/project.pbxproj: * builtins/BuiltinNames.h: (JSC::BuiltinNames::lookUpPrivateName): (JSC::BuiltinNames::lookUpPublicName): (JSC::BuiltinNames::getPrivateName): Deleted. (JSC::BuiltinNames::getPublicName): Deleted. * builtins/ModuleLoaderObject.js: Added. (setStateToMax): (newRegistryEntry): (forceFulfillPromise): (fulfillFetch): (fulfillTranslate): (fulfillInstantiate): (instantiation): (requestFetch): (requestTranslate): (requestInstantiate): (requestResolveDependencies.resolveDependenciesPromise.this.requestInstantiate.then.): (requestResolveDependencies.resolveDependenciesPromise.this.requestInstantiate.then): (requestResolveDependencies): (requestInstantiateAll): (provide): * jsc.cpp: (stringFromUTF): (jscSource): (GlobalObject::moduleLoaderFetch): (functionCheckModuleSyntax): (dumpException): (runWithScripts): (printUsageStatement): (CommandLine::parseArguments): (jscmain): (CommandLine::CommandLine): Deleted. * parser/Lexer.cpp: (JSC::Lexer<LChar>::parseIdentifier): (JSC::Lexer<UChar>::parseIdentifier): * parser/ModuleAnalyzer.cpp: (JSC::ModuleAnalyzer::ModuleAnalyzer): (JSC::ModuleAnalyzer::exportVariable): (JSC::ModuleAnalyzer::analyze): * parser/ModuleAnalyzer.h: (JSC::ModuleAnalyzer::moduleRecord): * parser/ModuleRecord.cpp: (JSC::printableName): Deleted. (JSC::ModuleRecord::dump): Deleted. * parser/ModuleRecord.h: (JSC::ModuleRecord::ImportEntry::isNamespace): Deleted. (JSC::ModuleRecord::create): Deleted. (JSC::ModuleRecord::appendRequestedModule): Deleted. (JSC::ModuleRecord::addImportEntry): Deleted. (JSC::ModuleRecord::addExportEntry): Deleted. (JSC::ModuleRecord::addStarExportEntry): Deleted. * parser/Nodes.h: * parser/NodesAnalyzeModule.cpp: (JSC::ImportDeclarationNode::analyzeModule): (JSC::ExportAllDeclarationNode::analyzeModule): (JSC::ExportNamedDeclarationNode::analyzeModule): * runtime/CommonIdentifiers.cpp: (JSC::CommonIdentifiers::lookUpPrivateName): (JSC::CommonIdentifiers::lookUpPublicName): (JSC::CommonIdentifiers::getPrivateName): Deleted. (JSC::CommonIdentifiers::getPublicName): Deleted. * runtime/CommonIdentifiers.h: * runtime/Completion.cpp: (JSC::checkModuleSyntax): (JSC::evaluateModule): * runtime/Completion.h: * runtime/ExceptionHelpers.cpp: (JSC::createUndefinedVariableError): * runtime/Identifier.h: * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): (JSC::JSGlobalObject::visitChildren): * runtime/JSGlobalObject.h: (JSC::JSGlobalObject::moduleLoader): (JSC::JSGlobalObject::moduleRecordStructure): * runtime/JSModuleRecord.cpp: Renamed from Source/JavaScriptCore/parser/ModuleRecord.cpp. (JSC::JSModuleRecord::destroy): (JSC::JSModuleRecord::finishCreation): (JSC::printableName): (JSC::JSModuleRecord::dump): * runtime/JSModuleRecord.h: Renamed from Source/JavaScriptCore/parser/ModuleRecord.h. (JSC::JSModuleRecord::ImportEntry::isNamespace): (JSC::JSModuleRecord::createStructure): (JSC::JSModuleRecord::create): (JSC::JSModuleRecord::requestedModules): (JSC::JSModuleRecord::JSModuleRecord): (JSC::JSModuleRecord::appendRequestedModule): (JSC::JSModuleRecord::addImportEntry): (JSC::JSModuleRecord::addExportEntry): (JSC::JSModuleRecord::addStarExportEntry): * runtime/MapPrototype.cpp: (JSC::MapPrototype::finishCreation): * runtime/ModuleLoaderObject.cpp: Added. (JSC::ModuleLoaderObject::ModuleLoaderObject): (JSC::ModuleLoaderObject::finishCreation): (JSC::ModuleLoaderObject::getOwnPropertySlot): (JSC::printableModuleKey): (JSC::ModuleLoaderObject::provide): (JSC::ModuleLoaderObject::requestInstantiateAll): (JSC::ModuleLoaderObject::resolve): (JSC::ModuleLoaderObject::fetch): (JSC::ModuleLoaderObject::translate): (JSC::ModuleLoaderObject::instantiate): (JSC::moduleLoaderObjectParseModule): (JSC::moduleLoaderObjectRequestedModules): (JSC::moduleLoaderObjectResolve): (JSC::moduleLoaderObjectFetch): (JSC::moduleLoaderObjectTranslate): (JSC::moduleLoaderObjectInstantiate): * runtime/ModuleLoaderObject.h: Added. (JSC::ModuleLoaderObject::create): (JSC::ModuleLoaderObject::createStructure): * runtime/Options.h: Source/WebCore: Just fill Loader hooks with nullptr. * bindings/js/JSDOMWindowBase.cpp: * bindings/js/JSWorkerGlobalScopeBase.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@188752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 187d80d commit c42ad7b

31 files changed

+1318
-116
lines changed

Source/JavaScriptCore/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ set(JavaScriptCore_SOURCES
389389

390390
parser/Lexer.cpp
391391
parser/ModuleAnalyzer.cpp
392-
parser/ModuleRecord.cpp
393392
parser/Nodes.cpp
394393
parser/NodesAnalyzeModule.cpp
395394
parser/Parser.cpp
@@ -533,6 +532,7 @@ set(JavaScriptCore_RUNTIME_SOURCES
533532
runtime/JSLock.cpp
534533
runtime/JSMap.cpp
535534
runtime/JSMapIterator.cpp
535+
runtime/JSModuleRecord.cpp
536536
runtime/JSNotAnObject.cpp
537537
runtime/JSONObject.cpp
538538
runtime/JSObject.cpp
@@ -567,6 +567,7 @@ set(JavaScriptCore_RUNTIME_SOURCES
567567
runtime/MathCommon.cpp
568568
runtime/MathObject.cpp
569569
runtime/MemoryStatistics.cpp
570+
runtime/ModuleLoaderObject.cpp
570571
runtime/NativeErrorConstructor.cpp
571572
runtime/NativeErrorPrototype.cpp
572573
runtime/NullGetterFunction.cpp
@@ -660,6 +661,7 @@ set(JavaScriptCore_LUT_FILES
660661
runtime/JSONObject.cpp
661662
runtime/JSPromiseConstructor.cpp
662663
runtime/JSPromisePrototype.cpp
664+
runtime/ModuleLoaderObject.cpp
663665
runtime/NumberConstructor.cpp
664666
runtime/NumberPrototype.cpp
665667
runtime/ObjectConstructor.cpp

Source/JavaScriptCore/ChangeLog

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,161 @@
1+
2015-08-20 Yusuke Suzuki <utatane.tea@gmail.com>
2+
3+
[ES6] prototyping module loader in JSC shell
4+
https://bugs.webkit.org/show_bug.cgi?id=147876
5+
6+
Reviewed by Saam Barati.
7+
8+
This patch implements ES6 Module Loader part. The implementation is based on
9+
the latest draft[1, 2]. The naive implementation poses several problems.
10+
This patch attempts to solve the spec issues and proposes the fix[3, 4, 5].
11+
12+
We construct the JSC internal module loader based on the ES6 Promises.
13+
The chain of the promises represents the dependency graph of the modules and
14+
it automatically enables asynchronous module fetching.
15+
To leverage the Promises internally, we use the InternalPromise landed in r188681.
16+
17+
The loader has several platform-dependent hooks. The platform can implement
18+
these hooks to provide the functionality missing in the module loaders, like
19+
"how to fetch the resources". The method table of the JSGlobalObject is extended
20+
to accept these hooks from the platform.
21+
22+
This patch focus on the loading part. So we don't create the module environment
23+
and don't link the modules yet.
24+
25+
To test the current module progress easily, we add the `-m` option to the JSC shell.
26+
When this option is specified, we load the given script as the module. And to use
27+
the module loading inside the JSC shell, we added the simple loader hook for fetching.
28+
It fetches the module content from the file system.
29+
30+
And to use the ES6 Map in the Loader implementation, we added @get and @set methods to the Map.
31+
But it conflicts with the existing `getPrivateName` method. Rename it to `lookUpPrivateName`.
32+
33+
[1]: https://whatwg.github.io/loader/
34+
[2]: https://github.com/whatwg/loader/commit/214c7a6625b445bdf411c39984f36f01139a24be
35+
[3]: https://github.com/whatwg/loader/pull/66
36+
[4]: https://github.com/whatwg/loader/pull/67
37+
[5]: https://github.com/whatwg/loader/issues/68
38+
[6]: https://bugs.webkit.org/show_bug.cgi?id=148136
39+
40+
* CMakeLists.txt:
41+
* DerivedSources.make:
42+
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
43+
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
44+
* JavaScriptCore.xcodeproj/project.pbxproj:
45+
* builtins/BuiltinNames.h:
46+
(JSC::BuiltinNames::lookUpPrivateName):
47+
(JSC::BuiltinNames::lookUpPublicName):
48+
(JSC::BuiltinNames::getPrivateName): Deleted.
49+
(JSC::BuiltinNames::getPublicName): Deleted.
50+
* builtins/ModuleLoaderObject.js: Added.
51+
(setStateToMax):
52+
(newRegistryEntry):
53+
(forceFulfillPromise):
54+
(fulfillFetch):
55+
(fulfillTranslate):
56+
(fulfillInstantiate):
57+
(instantiation):
58+
(requestFetch):
59+
(requestTranslate):
60+
(requestInstantiate):
61+
(requestResolveDependencies.resolveDependenciesPromise.this.requestInstantiate.then.):
62+
(requestResolveDependencies.resolveDependenciesPromise.this.requestInstantiate.then):
63+
(requestResolveDependencies):
64+
(requestInstantiateAll):
65+
(provide):
66+
* jsc.cpp:
67+
(stringFromUTF):
68+
(jscSource):
69+
(GlobalObject::moduleLoaderFetch):
70+
(functionCheckModuleSyntax):
71+
(dumpException):
72+
(runWithScripts):
73+
(printUsageStatement):
74+
(CommandLine::parseArguments):
75+
(jscmain):
76+
(CommandLine::CommandLine): Deleted.
77+
* parser/Lexer.cpp:
78+
(JSC::Lexer<LChar>::parseIdentifier):
79+
(JSC::Lexer<UChar>::parseIdentifier):
80+
* parser/ModuleAnalyzer.cpp:
81+
(JSC::ModuleAnalyzer::ModuleAnalyzer):
82+
(JSC::ModuleAnalyzer::exportVariable):
83+
(JSC::ModuleAnalyzer::analyze):
84+
* parser/ModuleAnalyzer.h:
85+
(JSC::ModuleAnalyzer::moduleRecord):
86+
* parser/ModuleRecord.cpp:
87+
(JSC::printableName): Deleted.
88+
(JSC::ModuleRecord::dump): Deleted.
89+
* parser/ModuleRecord.h:
90+
(JSC::ModuleRecord::ImportEntry::isNamespace): Deleted.
91+
(JSC::ModuleRecord::create): Deleted.
92+
(JSC::ModuleRecord::appendRequestedModule): Deleted.
93+
(JSC::ModuleRecord::addImportEntry): Deleted.
94+
(JSC::ModuleRecord::addExportEntry): Deleted.
95+
(JSC::ModuleRecord::addStarExportEntry): Deleted.
96+
* parser/Nodes.h:
97+
* parser/NodesAnalyzeModule.cpp:
98+
(JSC::ImportDeclarationNode::analyzeModule):
99+
(JSC::ExportAllDeclarationNode::analyzeModule):
100+
(JSC::ExportNamedDeclarationNode::analyzeModule):
101+
* runtime/CommonIdentifiers.cpp:
102+
(JSC::CommonIdentifiers::lookUpPrivateName):
103+
(JSC::CommonIdentifiers::lookUpPublicName):
104+
(JSC::CommonIdentifiers::getPrivateName): Deleted.
105+
(JSC::CommonIdentifiers::getPublicName): Deleted.
106+
* runtime/CommonIdentifiers.h:
107+
* runtime/Completion.cpp:
108+
(JSC::checkModuleSyntax):
109+
(JSC::evaluateModule):
110+
* runtime/Completion.h:
111+
* runtime/ExceptionHelpers.cpp:
112+
(JSC::createUndefinedVariableError):
113+
* runtime/Identifier.h:
114+
* runtime/JSGlobalObject.cpp:
115+
(JSC::JSGlobalObject::init):
116+
(JSC::JSGlobalObject::visitChildren):
117+
* runtime/JSGlobalObject.h:
118+
(JSC::JSGlobalObject::moduleLoader):
119+
(JSC::JSGlobalObject::moduleRecordStructure):
120+
* runtime/JSModuleRecord.cpp: Renamed from Source/JavaScriptCore/parser/ModuleRecord.cpp.
121+
(JSC::JSModuleRecord::destroy):
122+
(JSC::JSModuleRecord::finishCreation):
123+
(JSC::printableName):
124+
(JSC::JSModuleRecord::dump):
125+
* runtime/JSModuleRecord.h: Renamed from Source/JavaScriptCore/parser/ModuleRecord.h.
126+
(JSC::JSModuleRecord::ImportEntry::isNamespace):
127+
(JSC::JSModuleRecord::createStructure):
128+
(JSC::JSModuleRecord::create):
129+
(JSC::JSModuleRecord::requestedModules):
130+
(JSC::JSModuleRecord::JSModuleRecord):
131+
(JSC::JSModuleRecord::appendRequestedModule):
132+
(JSC::JSModuleRecord::addImportEntry):
133+
(JSC::JSModuleRecord::addExportEntry):
134+
(JSC::JSModuleRecord::addStarExportEntry):
135+
* runtime/MapPrototype.cpp:
136+
(JSC::MapPrototype::finishCreation):
137+
* runtime/ModuleLoaderObject.cpp: Added.
138+
(JSC::ModuleLoaderObject::ModuleLoaderObject):
139+
(JSC::ModuleLoaderObject::finishCreation):
140+
(JSC::ModuleLoaderObject::getOwnPropertySlot):
141+
(JSC::printableModuleKey):
142+
(JSC::ModuleLoaderObject::provide):
143+
(JSC::ModuleLoaderObject::requestInstantiateAll):
144+
(JSC::ModuleLoaderObject::resolve):
145+
(JSC::ModuleLoaderObject::fetch):
146+
(JSC::ModuleLoaderObject::translate):
147+
(JSC::ModuleLoaderObject::instantiate):
148+
(JSC::moduleLoaderObjectParseModule):
149+
(JSC::moduleLoaderObjectRequestedModules):
150+
(JSC::moduleLoaderObjectResolve):
151+
(JSC::moduleLoaderObjectFetch):
152+
(JSC::moduleLoaderObjectTranslate):
153+
(JSC::moduleLoaderObjectInstantiate):
154+
* runtime/ModuleLoaderObject.h: Added.
155+
(JSC::ModuleLoaderObject::create):
156+
(JSC::ModuleLoaderObject::createStructure):
157+
* runtime/Options.h:
158+
1159
2015-08-20 Filip Pizlo <fpizlo@apple.com>
2160

3161
DFG should have a KnownBooleanUse for cases where we are required to know that the child is a boolean and it's not OK to speculate

Source/JavaScriptCore/DerivedSources.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ all : \
5656
JSPromiseConstructor.lut.h \
5757
KeywordLookup.h \
5858
Lexer.lut.h \
59+
ModuleLoaderObject.lut.h \
5960
NumberConstructor.lut.h \
6061
NumberPrototype.lut.h \
6162
ObjectConstructor.lut.h \

Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,6 @@
662662
<ClCompile Include="..\llvm\LLVMAPI.cpp" />
663663
<ClCompile Include="..\parser\Lexer.cpp" />
664664
<ClCompile Include="..\parser\ModuleAnalyzer.cpp" />
665-
<ClCompile Include="..\parser\ModuleRecord.cpp" />
666665
<ClCompile Include="..\parser\Nodes.cpp" />
667666
<ClCompile Include="..\parser\NodesAnalyzeModule.cpp" />
668667
<ClCompile Include="..\parser\Parser.cpp" />
@@ -783,6 +782,7 @@
783782
<ClCompile Include="..\runtime\JSLock.cpp" />
784783
<ClCompile Include="..\runtime\JSMap.cpp" />
785784
<ClCompile Include="..\runtime\JSMapIterator.cpp" />
785+
<ClCompile Include="..\runtime\JSModuleRecord.cpp" />
786786
<ClCompile Include="..\runtime\JSNotAnObject.cpp" />
787787
<ClCompile Include="..\runtime\JSONObject.cpp" />
788788
<ClCompile Include="..\runtime\JSObject.cpp" />
@@ -818,6 +818,7 @@
818818
<ClCompile Include="..\runtime\MathCommon.cpp" />
819819
<ClCompile Include="..\runtime\MathObject.cpp" />
820820
<ClCompile Include="..\runtime\MemoryStatistics.cpp" />
821+
<ClCompile Include="..\runtime\ModuleLoaderObject.cpp" />
821822
<ClCompile Include="..\runtime\NativeErrorConstructor.cpp" />
822823
<ClCompile Include="..\runtime\NativeErrorPrototype.cpp" />
823824
<ClCompile Include="..\runtime\NullGetterFunction.cpp" />
@@ -930,6 +931,7 @@
930931
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\NumberConstructor.lut.h" />
931932
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\NumberPrototype.lut.h" />
932933
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\ObjectConstructor.lut.h" />
934+
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\ModuleLoaderObject.lut.h" />
933935
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\ReflectObject.lut.h" />
934936
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\RegExpConstructor.lut.h" />
935937
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\RegExpJitTables.h" />
@@ -1462,7 +1464,6 @@
14621464
<ClInclude Include="..\parser\ASTBuilder.h" />
14631465
<ClInclude Include="..\parser\Lexer.h" />
14641466
<ClInclude Include="..\parser\ModuleAnalyzer.h" />
1465-
<ClInclude Include="..\parser\ModuleRecord.h" />
14661467
<ClInclude Include="..\parser\NodeConstructors.h" />
14671468
<ClInclude Include="..\parser\Nodes.h" />
14681469
<ClInclude Include="..\parser\Parser.h" />
@@ -1632,6 +1633,7 @@
16321633
<ClInclude Include="..\runtime\JSLock.h" />
16331634
<ClInclude Include="..\runtime\JSMap.h" />
16341635
<ClInclude Include="..\runtime\JSMapIterator.h" />
1636+
<ClInclude Include="..\runtime\JSModuleRecord.h" />
16351637
<ClInclude Include="..\runtime\JSNotAnObject.h" />
16361638
<ClInclude Include="..\runtime\JSONObject.h" />
16371639
<ClInclude Include="..\runtime\JSObject.h" />
@@ -1677,6 +1679,7 @@
16771679
<ClInclude Include="..\runtime\MathCommon.h" />
16781680
<ClInclude Include="..\runtime\MathObject.h" />
16791681
<ClInclude Include="..\runtime\MemoryStatistics.h" />
1682+
<ClInclude Include="..\runtime\ModuleLoaderObject.h" />
16801683
<ClInclude Include="..\runtime\Microtask.h" />
16811684
<ClInclude Include="..\runtime\NativeErrorConstructor.h" />
16821685
<ClInclude Include="..\runtime\NativeErrorPrototype.h" />

Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,6 @@
459459
<ClCompile Include="..\parser\ModuleAnalyzer.cpp">
460460
<Filter>parser</Filter>
461461
</ClCompile>
462-
<ClCompile Include="..\parser\ModuleRecord.cpp">
463-
<Filter>parser</Filter>
464-
</ClCompile>
465462
<ClCompile Include="..\parser\Nodes.cpp">
466463
<Filter>parser</Filter>
467464
</ClCompile>
@@ -726,6 +723,9 @@
726723
<ClCompile Include="..\runtime\JSMap.cpp">
727724
<Filter>runtime</Filter>
728725
</ClCompile>
726+
<ClCompile Include="..\runtime\JSModuleRecord.cpp">
727+
<Filter>runtime</Filter>
728+
</ClCompile>
729729
<ClCompile Include="..\runtime\JSNotAnObject.cpp">
730730
<Filter>runtime</Filter>
731731
</ClCompile>
@@ -1710,6 +1710,9 @@
17101710
<ClCompile Include="..\runtime\MemoryStatistics.cpp">
17111711
<Filter>runtime</Filter>
17121712
</ClCompile>
1713+
<ClCompile Include="..\runtime\ModuleLoaderObject.cpp">
1714+
<Filter>runtime</Filter>
1715+
</ClCompile>
17131716
<ClCompile Include="..\bytecode\ComplexGetStatus.cpp">
17141717
<Filter>bytecode</Filter>
17151718
</ClCompile>
@@ -2510,9 +2513,6 @@
25102513
<ClInclude Include="..\parser\ModuleAnalyzer.h">
25112514
<Filter>parser</Filter>
25122515
</ClInclude>
2513-
<ClInclude Include="..\parser\ModuleRecord.h">
2514-
<Filter>parser</Filter>
2515-
</ClInclude>
25162516
<ClInclude Include="..\parser\NodeConstructors.h">
25172517
<Filter>parser</Filter>
25182518
</ClInclude>
@@ -3225,6 +3225,9 @@
32253225
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\Lexer.lut.h">
32263226
<Filter>Derived Sources</Filter>
32273227
</ClInclude>
3228+
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\ModuleLoaderObject.lut.h">
3229+
<Filter>Derived Sources</Filter>
3230+
</ClInclude>
32283231
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\NumberConstructor.lut.h">
32293232
<Filter>Derived Sources</Filter>
32303233
</ClInclude>
@@ -3477,6 +3480,9 @@
34773480
<ClInclude Include="..\runtime\JSMap.h">
34783481
<Filter>runtime</Filter>
34793482
</ClInclude>
3483+
<ClInclude Include="..\runtime\JSModuleRecord.h">
3484+
<Filter>runtime</Filter>
3485+
</ClInclude>
34803486
<ClInclude Include="..\runtime\JSSet.h">
34813487
<Filter>runtime</Filter>
34823488
</ClInclude>
@@ -4273,6 +4279,9 @@
42734279
<ClInclude Include="..\runtime\MemoryStatistics.h">
42744280
<Filter>runtime</Filter>
42754281
</ClInclude>
4282+
<ClInclude Include="..\runtime\ModuleLoaderObject.h">
4283+
<Filter>runtime</Filter>
4284+
</ClInclude>
42764285
<ClInclude Include="..\bytecode\ComplexGetStatus.h">
42774286
<Filter>bytecode</Filter>
42784287
</ClInclude>

0 commit comments

Comments
 (0)