-
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
Conversation
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.
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': |
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...
@@ -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; |
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.
Add these 2 to LEGACY_SETTINGS.
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.
Done.
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.) |
Last reference to this file was removed in #11869.
Last reference to this file was removed in #11869.
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.
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.
No description provided.