-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Remove fastcomp-only SEPARATE_ASM option. See #11860 #11869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1040,16 +1040,6 @@ var DETERMINISTIC = 0; | |
// code, allowing better dead code elimination and minification. | ||
var MODULARIZE = 0; | ||
|
||
// If we separate out asm.js with the --separate-asm option, | ||
// this is the name of the variable where the generated asm.js | ||
// Module is assigned to. This name can either be a property | ||
// of Module, or a freestanding variable name, like "var asmJs". | ||
// If you are XHRing in multiple asm.js built files, use this option to | ||
// assign the generated asm.js modules to different variable names | ||
// so that they do not conflict. Default name is 'Module["asm"]' if a custom | ||
// name is not passed in. | ||
var SEPARATE_ASM_MODULE_NAME = ''; | ||
|
||
// Export using an ES6 Module export rather than a UMD export. MODULARIZE must | ||
// be enabled for ES6 exports. | ||
var EXPORT_ES6 = 0; | ||
|
@@ -1074,10 +1064,6 @@ var ASM_JS = 1; | |
// [fastcomp-only] | ||
var FINALIZE_ASM_JS = 1; | ||
|
||
// see emcc --separate-asm | ||
// [fastcomp-only] | ||
var SEPARATE_ASM = 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add these 2 to LEGACY_SETTINGS. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
// JS library functions on this list are not converted to JS, and calls to them | ||
// are turned into abort()s. This is potentially useful for reducing code size. | ||
// If a dead function is actually called, you will get a runtime error. | ||
|
@@ -1776,6 +1762,8 @@ var LEGACY_SETTINGS = [ | |
['ASYNCIFY_WHITELIST', 'ASYNCIFY_ONLY'], | ||
['ASYNCIFY_BLACKLIST', 'ASYNCIFY_REMOVE'], | ||
['EXCEPTION_CATCHING_WHITELIST', 'EXCEPTION_CATCHING_ALLOWED'], | ||
['SEPARATE_ASM', [0], 'Separate asm.js only made sense for fastcomp with asm.js output'], | ||
['SEPARATE_ASM_MODULE_NAME', [''], 'Separate asm.js only made sense for fastcomp with asm.js output'], | ||
['FAST_UNROLLED_MEMCPY_AND_MEMSET', [0, 1], 'The wasm backend implements memcpy/memset in C'], | ||
['DOUBLE_MODE', [0, 1], 'The wasm backend always implements doubles normally'], | ||
['PRECISE_F32', [0, 1, 2], 'The wasm backend always implements floats normally'], | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep this around and issue an appropriate error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good point, this PR needs to do that to be NFC, as we errored before. Fixing...