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

Baseline compiler #2

Open
indutny opened this issue Oct 29, 2014 · 0 comments
Open

Baseline compiler #2

indutny opened this issue Oct 29, 2014 · 0 comments
Milestone

Comments

@indutny
Copy link
Member

indutny commented Oct 29, 2014

I think we should do a baseline compilation for a large portion of javascript code instead of creating SSA and allocating registers.

The idea is (at least in my head) to generate CFG using ssa.js and perform some alternative register allocation algorithm on it, thus skipping the SSA transformation and Linearscan.

The register allocation could just assign rax, rbx, rcx ... to inputs and spill everything else right after the instruction. Should work just fine for the compilation speed reasons.

@indutny indutny added this to the 1.0 milestone Oct 29, 2014
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

No branches or pull requests

1 participant