Skip to content

s2wasm: add outfile #23

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 2 commits into from
Dec 22, 2015
Merged

s2wasm: add outfile #23

merged 2 commits into from
Dec 22, 2015

Conversation

jfbastien
Copy link
Member

Use some C++ in a few places. I'll propagate similar changes to the rest of the codebase later. I also need to turn off colors when outputting to a file (isatty on stdout doesn't do that with -o) but I'll do it in a separate PR because it'll touch more files.

Use some C++ in a few places. I'll propagate similar changes to the rest of the codebase later. I also need to turn off colors when outputting to a file (isatty on stdout doesn't do that with -o) but I'll do it in a separate PR because it'll touch more files.
@@ -24,40 +24,99 @@ using namespace cashew;
using namespace wasm;

namespace wasm {
int debug = 0;
struct Options {
Copy link
Member

Choose a reason for hiding this comment

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

this new stuff could go in a header of its own, then it could eventually be reused by other tools here.

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, I'll refactor it when I use it elsewhere.

@kripken kripken merged commit 8c8294b into master Dec 22, 2015
@kripken
Copy link
Member

kripken commented Dec 22, 2015

Merged and updated the .s test outputs (newline changes).

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