-
Notifications
You must be signed in to change notification settings - Fork 142
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
[Patterns][internal] High degree of code duplication in instanceof pattern code generation #2021
Milestone
Comments
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 14, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 14, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 14, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 14, 2024
3 tasks
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 15, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 15, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 15, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 16, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Feb 18, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Mar 5, 2024
robstryker
pushed a commit
to robstryker/eclipse.jdt.core
that referenced
this issue
Jul 18, 2024
gayanper
pushed a commit
to gayanper/eclipse.jdt.core
that referenced
this issue
Sep 7, 2024
snjeza
pushed a commit
to snjeza/eclipse.jdt.core
that referenced
this issue
Oct 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The two methods
org.eclipse.jdt.internal.compiler.ast.InstanceOfExpression.generateCode(BlockScope, CodeStream, boolean)
andorg.eclipse.jdt.internal.compiler.ast.InstanceOfExpression.generateOptimizedBoolean(BlockScope, CodeStream, BranchLabel, BranchLabel, boolean)
duplicate a lot of code. It should be investigated whether one of them can simply call the other one or if the common code could be factored into a subroutineThe text was updated successfully, but these errors were encountered: