Description[modules] Explicitly keep track of module requests.
We must keep track of the exact order in which modules are requested.
To do so, maintain a map from module specifiers to position while
parsing (in ModuleDescriptor). Descriptor entries now refer to that
position rather than the string. When generating the ModuleInfo, turn
this map into an array of specifiers. We don't need the map anymore
later on, so we do not reconstruct it when deserializing again.
BUG=v8:1569
Committed: https://crrev.com/c5785bfb92c0380b93c4ec57dc2326da90cf0390
Cr-Commit-Position: refs/heads/master@{#39519}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 6
Patch Set 4 : Address comments. #
Messages
Total messages: 20 (13 generated)
|