-
Notifications
You must be signed in to change notification settings - Fork 687
Rework the core of class parsing/runtime semantic #3598
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
Conversation
2f2fac0 to
3a3cc01
Compare
3a64615 to
c8a34a7
Compare
98d60de to
9e8b52b
Compare
zherczeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good patch!
Changes:
- Use the pre-scanner to provide information for the parser about the existence of the class constructor
- The allocation of the super declarative environment is no longer needed
- The VM frame context holds the information about the this binding status
- Reduce the number of class related VM/CBC instructions
- Improve ecma_op_function_{construct, call} to property set new.target
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
|
@zherczeg @ossy-szeged Thanks for the reviews, I've updated the PR according to them. |
zherczeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dbatyai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes:
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]