forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List modules explicitly in SegmentRange, rename to SegmentInfo
Summary: Allows CompilerDriver to pass a list of possibly non-contiguous CommonJS module IDs to IR generation. Following the cjsModuleOffset -> segmentID change (D23940758) we no long rely on the lowest module ID in a segment to serve as a segment identifier. Here we change `Module::getFunctionsInSegment` slightly to iterate over the given list instead of a contiguous range of IDs. Reviewed By: avp Differential Revision: D23941626 fbshipit-source-id: 453677add22af2fa2f60bef2d54d6da14f3b685a
- Loading branch information
1 parent
c57fde2
commit 18e834a
Showing
7 changed files
with
74 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.