-
Notifications
You must be signed in to change notification settings - Fork 4
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
Convert between IR variable numbers to JDTs' IVariableBinding/ITypeBinding #33
Labels
Comments
JDTIdentityMapper seems to go from JDT -> Wala. Can we use it to get back? |
vazexqi
pushed a commit
that referenced
this issue
Mar 22, 2013
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
Makes it more convenient than having to create a new instance of SimpleNameBindingFinder each time. See #33.
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
We add a convenience method for transforming from DataDependence -> IBinding (regardless of the type) for now. See #33.
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
vazexqi
pushed a commit
that referenced
this issue
Mar 25, 2013
Previously we were using the entire CompilationUnit. While this works, it is too coarse-grained. We should start looking for bindings at the smallest encompassing unit, i.e, a MethodDeclaration for our case. See #33.
vazexqi
pushed a commit
that referenced
this issue
Apr 5, 2013
Now we look for the bindings only from the selected statements. Previously, we look starting from the methoddeclaration. This caused problems when we have this situation: method { for(int i = …) // Select this statement call(i); for(int i =…) } which i variable would it bind to? See #33.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These conversions are necessary for the code generation part to work.
The text was updated successfully, but these errors were encountered: