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

Properly decode literal index before CBC_MOV_IDENT #3056

Merged
merged 1 commit into from
Sep 7, 2019

Conversation

rerobika
Copy link
Member

@rerobika rerobika commented Sep 4, 2019

This patch fixes #3055.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]

@rerobika rerobika added bug Undesired behaviour parser Related to the JavaScript parser labels Sep 4, 2019
@rerobika rerobika changed the title Property decode literal index before CBC_ASSING_MOV Properly decode literal index before CBC_ASSING_MOV Sep 5, 2019
@rerobika rerobika requested review from galpeter and dbatyai September 5, 2019 07:54
jerry-core/parser/js/js-parser.c Show resolved Hide resolved
jerry-core/parser/js/js-parser.c Outdated Show resolved Hide resolved
This patch fixes jerryscript-project#3055.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
@rerobika rerobika changed the title Properly decode literal index before CBC_ASSING_MOV Properly decode literal index before CBC_MOV_IDENT Sep 5, 2019
Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

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

LGTM

@dbatyai dbatyai merged commit 2933947 into jerryscript-project:master Sep 7, 2019
@rerobika rerobika deleted the fix_issue_3055 branch June 16, 2020 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour parser Related to the JavaScript parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion literal_index < register_end in vm_loop
4 participants