-
Notifications
You must be signed in to change notification settings - Fork 128
Comparing changes
Open a pull request
base repository: dotnet/linker
base: 4db6ac9
head repository: dotnet/linker
compare: 391ac60
- 7 commits
- 79 files changed
- 5 contributors
Commits on Oct 27, 2022
-
Create
ParameterProxyto wrap logic surrounding parameters and use ……one `ParameterIndex` struct to index (#3059) This reverts commit 45e2e59. This commit creates a 'ParameterProxy' type and 'ParameterIndex' to represent parameters in a consistent way. This is motivated by using 'int' to represent different ways of counting parameters (sometimes offset by 1 for the 'this' parameter, sometimes not offset). ParameterIndex should now be the only type used to index into a method's parameters. ParameterIndex represents the index of the parameter as it is passed to the method in IL (i.e. 'this' is the 0 index in instance methods). ParameterProxy wraps the common convention of a MethodProxy and int to represent a parameter, and now holds a Method and a ParameterIndex to encapsulate a Parameter. No behavioral changes are expected from this change. Co-authored-by: Vitek Karas <[email protected]> Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ca39998 - Browse repository at this point
Copy the full SHA ca39998View commit details -
Update CI status in readme (#3086)
* Update CI status in readme Co-authored-by: Sven Boemer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef10f6d - Browse repository at this point
Copy the full SHA ef10f6dView commit details -
Check for marking virtual method due to base only when state changes (#…
…3073) Instead of checking every virtual method to see if it should be kept due to a base method every iteration of the MarkStep pipeline, check each method only when its relevant state has changed. Co-authored-by: Sven Boemer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8306887 - Browse repository at this point
Copy the full SHA 8306887View commit details
Commits on Oct 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c5d28ae - Browse repository at this point
Copy the full SHA c5d28aeView commit details -
Update dependencies from https://github.com/dotnet/arcade build 20221…
…024.5 (#3092) [main] Update dependencies from dotnet/arcade
Configuration menu - View commit details
-
Copy full SHA for aea1d9f - Browse repository at this point
Copy the full SHA aea1d9fView commit details
Commits on Nov 1, 2022
-
Fix branch removal in compiler generated code (#3088)
Changes to processing of compiler generated methods lead to a state where we don't call constant prop and branch removal in all cases before we mark instructions of the method. This can lead to overmarking This change fixes this by making sure that the branch removal executes on the method in all cases before we mark instructions of the method. The change guarantees that all accesses to Body are after the constant prop/branch removal happened on the method. This does have one possibly negative impact: the issue described in https://github.com/dotnet/linker/issues/2937 is now consistent and happens always. Added tests. Note that there's still a whole in analysis of compiler generated code around state machines, see #3087 Basically if there's a local function which is going to be removed due to branch removal and if the body of that method contains code which produces a warning due to generic parameter validation, such warning will always be generated even though it's "dead" code and even if it's suppressed via RUC or similar. In such case the analysis can't figure out to which method the local function belongs (since the call site has been removed).
Configuration menu - View commit details
-
Copy full SHA for e502e72 - Browse repository at this point
Copy the full SHA e502e72View commit details
Commits on Nov 2, 2022
-
Don't mark override of abstract base if the override's declaring type…
… is not marked (#3098) * Don't mark an override every time the base is abstract, only if the declaring type is also marked Adds a condition to ShouldMarkOverrideForBase to exit early if the declaring type of the method is not marked.
Configuration menu - View commit details
-
Copy full SHA for 391ac60 - Browse repository at this point
Copy the full SHA 391ac60View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4db6ac9...391ac60