Skip to content
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

Sync from origin #1

Merged
merged 46 commits into from
Aug 9, 2018
Merged

Sync from origin #1

merged 46 commits into from
Aug 9, 2018

Conversation

nidin
Copy link

@nidin nidin commented Aug 9, 2018

No description provided.

dcodeIO and others added 30 commits July 10, 2018 00:34
This has become a little clumsy over time. Doesn't hurt to have it in its own place to get a grasp of it more easily.
…erals

Essentially, if the contextual type is a class with a constructor that takes zero arguments or doesn't have a constructor at all, an object literal can be used to initialize a new instance of that class with preset values.
…again

Avoids wrapping an undocumented function within 'memory.size' for example.
Looking at our existing tests it seems that inlining these can be performed by reusing locals most of the time, and sometimes enables erasing quite a bit of unnecessary code when optimizing.
dcodeIO and others added 16 commits July 20, 2018 22:53
* Rename memory instructions as proposed by the bulk-memory-operations spec.
* Rename memory manager functions to memory.* as well
* Remove automatic inlining of constant globals (Binaryen does this now)
* Improve 'const' enum compatibility
* Improve module-level export generation
* Enable the inline decorator for constant variables
* Add ERROR, WARNING and INFO macros that emit a user-defined diagnostic
* Reintroduce builtin decorator so these can appear anywhere in stdlib again
* Inline isNaN and isFinite by default
* Make an interface around gc.* similar to memory.*
* Emit an error when trying to inline a mutable variable
* Slim down CI stages
* Add a more convenient tracing utility for debugging
* Implement some prequesites for an eventual bundled GC
…g own fields; Align everything to 8 bytes that might be touched by GC
@nidin nidin merged commit c48a230 into 01alchemist:master Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants