Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Disable calls that require VSD. #266

Merged
merged 1 commit into from
Mar 12, 2015
Merged

Disable calls that require VSD. #266

merged 1 commit into from
Mar 12, 2015

Conversation

pgavlin
Copy link
Contributor

@pgavlin pgavlin commented Mar 10, 2015

Such calls have a special calling convention that requires the stub
address in a target-specific register.

This was causing silent bad codegen during some ad-hoc testing.

@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 10, 2015

@erozenfeld @AndyAyersMS PTAL

@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 10, 2015

I've filed #267 for tracking.

@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 10, 2015

@erozenfeld I believe you're likely to run into this (if you haven't already) while implementing stelem support.

@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 10, 2015

Just realized I forgot to generate new baselines; these are pending.

// to the stub in a target-specific register.
throw NotYetImplementedException("VSD");
}

// Ask GenIR to create return value.
Copy link
Member

Choose a reason for hiding this comment

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

Can you use () around the subexpressions in the if? Also might as well spell out the failure reason.

Copy link
Member

Choose a reason for hiding this comment

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

LGTM modulo what Andy said.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done on both counts.

@AndyAyersMS
Copy link
Member

Code looks good -- do you still need updated baselines?

@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 10, 2015

I had them, but apparently managed to debase them away. I'll either recover or regenerate them.

@AndyAyersMS
Copy link
Member

LGTM.

FYI @JosephTremoulet I think this might block getting to your nontrivial finally case from #260.

Failed to read AppDomainSetup.SetCompatibilitySwitches[Leave: nontrivial finally invocation]

becomes

Failed to read AppDomainSetup.SetCompatibilitySwitches[virtual stub dispatch]

Such calls have a special calling convention that requires the stub
address in a target-specific register.

Issue #267 tracks adding support for calls that require VSD.
@pgavlin
Copy link
Contributor Author

pgavlin commented Mar 12, 2015

The build failure is an infrastructural problem on one of the Win64 test jobs. The other Win64 test job passed, so I'm going to go ahead and merge this PR.

pgavlin added a commit that referenced this pull request Mar 12, 2015
Disable calls that require VSD.
@pgavlin pgavlin merged commit 9fb611f into dotnet:master Mar 12, 2015
@pgavlin pgavlin deleted the NYIVSD branch March 12, 2015 23:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants