-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ILambda user tree node from Painless (#55190)
The ILambda user tree node is no longer necessary with the addition of the ir tree as it was only supporting writing the ASM, but had no bearing on semantic checking. This moves the code necessary to build the def lambda recipes into the ir tree since we know that they are correct for compile time and the information necessary to do this is already known by the correct ir nodes. This change also splits up the ir reference nodes into DefReferenceInterfaceNode, TypedInterfaceReferenceNode, and TypedCaptureReferenceNode which covers all possible cases of known information at compile time for method references. Each of these nodes is built by the user tree nodes as necessary. Relates #53702 Closes #54015
- Loading branch information
Showing
13 changed files
with
252 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 0 additions & 93 deletions
93
modules/lang-painless/src/main/java/org/elasticsearch/painless/ir/CapturingFuncRefNode.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 0 additions & 80 deletions
80
modules/lang-painless/src/main/java/org/elasticsearch/painless/ir/LambdaNode.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.