Skip to content

Decrease byte-code's register pressure during preparation of long arguments list #247

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 3 commits into from
Jun 29, 2015

Conversation

ruben-ayrapetyan
Copy link
Contributor

Related issue: #186

@ruben-ayrapetyan ruben-ayrapetyan added bug Undesired behaviour enhancement An improvement normal parser Related to the JavaScript parser labels Jun 28, 2015
@ruben-ayrapetyan ruben-ayrapetyan added this to the Core ECMA features milestone Jun 28, 2015
@egavrin
Copy link
Contributor

egavrin commented Jun 28, 2015

Looks good

@egavrin egavrin assigned galpeter and unassigned egavrin Jun 28, 2015
@galpeter
Copy link
Contributor

The intrinsic calls were already removed by the #246 PR.

@ruben-ayrapetyan
Copy link
Contributor Author

The intrinsic calls were already removed by the #246 PR.

Yes. The changes depend on the removal, so the commit is included in the pull request too.
As the #246 is already merged, I'll rebase the changes.

@ruben-ayrapetyan
Copy link
Contributor Author

Pull request is rebased on current master.

@galpeter
Copy link
Contributor

lgtm

@galpeter galpeter removed their assignment Jun 29, 2015
…ception handling in opfunc_obj_decl.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
…operators, so that every iteration passes start and end of loop body.

The change makes possible simple notification of byte-code generator about start / end of byte-code generation for an argument.
As register values are not passed between byte-code sequences that prepare different arguments, the change would make possible for byte-code generator to reuse registers allocated for the code sequences.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
… preparation instruction sequence.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour enhancement An improvement normal parser Related to the JavaScript parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants