forked from dotnet/llilc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses a couple of issues seen in the Roslyn bring-up. In `readerPrePass`, split the current block after the parameter stores and local allocas and other "run once on entry to the method" IR. The continuation block from this split is the block that corresponds to MSIL offset 0 and is also the target of branches back to offset 0. Remember this block and in `fgPrePhase` return it as the first block to use when expanding MSIL to IR. Implement the just my code hook, which requires a conditional branch in this "entry IR" sequence. Closes dotnet#272, closes dotnet#372.
- Loading branch information
1 parent
165bc97
commit 1df4a9a
Showing
2 changed files
with
30 additions
and
4 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
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