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

Remove Extraneous New Expr Edges #363

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3184,9 +3184,6 @@ inherit .return_or_yield
edge @new_expr.value -> new_expr_guard_this
edge new_expr_guard_this -> new_expr_call

; value coming from the field decls in the class
edge @new_expr.value -> @constructor.value

; value also coming from the prototype
node guard_prototype
attr (guard_prototype) push_symbol = "GUARD:PROTOTYPE"
Expand Down Expand Up @@ -4476,7 +4473,7 @@ inherit .return_or_yield
edge pop_default_guard -> @right.value

;; For ES6 interoperability, expose members as named exports
attr (pop_dot) pop_symbol = "GAURD:MEMBER"
attr (pop_dot) pop_symbol = "GUARD:MEMBER"
edge @assignment_expr.exports -> pop_dot
edge pop_dot -> @right.value

Expand Down