Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Fix up IL scanner - #3885

Merged
MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:scannerFixes
Jun 14, 2017
Merged

MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:scannerFixes

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

With this, we can finally compile all of the precheckin code without any
diffs.

With this, we can finally compile all of the precheckin code without any
diffs.

* [Cleanup] Make clearing prefixes more consistent
* Emulate issue dotnet#3608 in the scanner.
* Boxing of reference types is not actually boxing.
{
// If we have any pending prefixes and the instruction we just processed is not a prefix instruction,
// it consumed the prefix. Clear the state.
if (!_isPrefixInstruction)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check for _isPrefixInstruction should not be necessary. EndImportingInstruction is not called after the prefix, it is only called after the whole instruction is imported.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, convenient. Good riddance!

@MichalStrehovsky
MichalStrehovsky merged commit c531b93 into dotnet:master Jun 14, 2017
@MichalStrehovsky
MichalStrehovsky deleted the scannerFixes branch June 14, 2017 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants