Skip to content

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 4 commits into from
Aug 12, 2020
Merged

Conversation

kripken
Copy link
Member

@kripken kripken commented Aug 12, 2020

No description provided.

@kripken kripken requested a review from sbc100 August 12, 2020 01:08
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no use for this feature with wasm2js?

@@ -3031,9 +2995,6 @@ def consume_arg():
options.valid_abspaths.append(newargs[i + 1])
newargs[i] = ''
newargs[i + 1] = ''
elif newargs[i] == '--separate-asm':
Copy link
Collaborator

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?

Copy link
Member Author

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...

@@ -1080,10 +1070,6 @@ var ASM_JS = 1;
// [fastcomp-only]
var FINALIZE_ASM_JS = 1;

// see emcc --separate-asm
// [fastcomp-only]
var SEPARATE_ASM = 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add these 2 to LEGACY_SETTINGS.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@kripken
Copy link
Member Author

kripken commented Aug 12, 2020

Is there no use for this feature with wasm2js?

No use. It's always errored with the wasm backend (and fastcomp with wasm). It's only ever been asm.js specific.

(I can in theory see a need for such a feature for wasm2js though. If that comes up we can revive this, or maybe find a better way.)

@kripken kripken merged commit c6212ef into master Aug 12, 2020
@kripken kripken deleted the no-SEPARATE_ASM branch August 12, 2020 18:31
sbc100 added a commit that referenced this pull request Jan 13, 2022
Last reference to this file was removed in #11869.
sbc100 added a commit that referenced this pull request Jan 13, 2022
Last reference to this file was removed in #11869.
sbc100 added a commit that referenced this pull request Jan 13, 2022
tests/atomicrmw_i64.ll: Usage was removed in #13244
tests/encapsulated_asmjs_page_load.html: Usage was removed in #11869
tests/core/test_ptrtoint.out: Usage removed in #6850
tests/core/test_lower_intrinsics.out: Usage removed in #12807
tests/core/test_llvm_intrinsics.out: Usage removed in #12807
tests/qsort/benchmark.cpp: Has never been used.
sbc100 added a commit that referenced this pull request Jan 13, 2022
tests/atomicrmw_i64.ll: Usage was removed in #13244
tests/encapsulated_asmjs_page_load.html: Usage was removed in #11869
tests/core/test_ptrtoint.out: Usage removed in #6850
tests/core/test_lower_intrinsics.out: Usage removed in #12807
tests/core/test_llvm_intrinsics.out: Usage removed in #12807
tests/qsort/benchmark.cpp: Has never been used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants