Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/passes/pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ void PassRegistry::registerPasses() {
// Also register it as "symbolmap" so that wasm-opt --symbolmap=foo is the
// same as wasm-as --symbolmap=foo even though the latter is not a pass
// (wasm-as cannot run arbitrary passes).
// TODO: switch emscripten to this name, then remove the old one
Copy link
Member

Choose a reason for hiding this comment

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

How about // TODO: switch existing users (workspace) to this name, then remove the old one

Copy link
Member

Choose a reason for hiding this comment

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

i.e. we still want to remove the "two names for the same thing"

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the two names make sense, actually? One is the usual name we give a pass, and another is a nicer alias. And given this feature is used, I'd rather not break anyone, keeping an alias just for that reason seems reasonable.

registerPass(
"symbolmap", "(alias for print-function-map)", createPrintFunctionMapPass);

Expand Down
Loading