Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Add CLI #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Add CLI #4

wants to merge 9 commits into from

Conversation

xtuc
Copy link
Owner

@xtuc xtuc commented Feb 15, 2018

No description provided.

const buff = toArrayBuffer(readFileSync(fqfilename, null));

// Run DCE on it
const newBuff = wasmdce(buff, usedExports[wasmFilename]);
Copy link
Owner Author

Choose a reason for hiding this comment

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

Before applying the DCE, we need to merge all our usedExports, because different files could use different exported functions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant