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

Add makeCall wrapper #457

Merged
merged 1 commit into from
Apr 18, 2015
Merged

Conversation

JosephTremoulet
Copy link
Contributor

This wraps LLVMBuilder->CreateCall, and will be where the logic goes that
instead creates an invoke with an appropriate exception edge if we're in a
protected region.

I decided to go ahead and split this out from my EH changes and PR it to master since it touches many lines and I expect this aspect of the changes (having a makeCall helper with this signature) to stick.

ReaderAlignType Alignment = Reader_AlignUnknown,
bool IsVolatile = false, bool NoCtor = false,
bool CanMoveUp = false);
llvm::CallSite callHelperImpl(CorInfoHelpFunc HelperID, bool MayThrow,
Copy link
Contributor

Choose a reason for hiding this comment

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

Not something that you have to change now, but it might be nice if this method took an ArrayRef<Value*> instead of the optional IRNode parameters.

@pgavlin
Copy link
Contributor

pgavlin commented Apr 17, 2015

LGTM.

This wraps LLVMBuilder->CreateCall, and will be where the logic goes that
instead creates an invoke with an appropriate exception edge if we're in a
protected region.
JosephTremoulet added a commit that referenced this pull request Apr 18, 2015
@JosephTremoulet JosephTremoulet merged commit 9e41e75 into dotnet:master Apr 18, 2015
@JosephTremoulet JosephTremoulet deleted the MakeCall branch April 18, 2015 04:20
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.

None yet

3 participants