summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/IRBuilder.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2015-02-09 23:02:10 +0000
committerRamkumar Ramachandra <artagnon@gmail.com>2015-02-09 23:02:10 +0000
commit3edf74fe29789044ce146f34ce6f79dfe390ab22 (patch)
tree5af7a880fc059438f6601b823cd6bb38f8a4fa5b /llvm/lib/IR/IRBuilder.cpp
parent2e4b9e0a37a24025649cd046e4d9cdae09d0a77f (diff)
downloadbcm5719-llvm-3edf74fe29789044ce146f34ce6f79dfe390ab22.tar.gz
bcm5719-llvm-3edf74fe29789044ce146f34ce6f79dfe390ab22.zip
[Statepoint] Improve two asserts, fix some style (NFC)
Summary: It's important that our users immediately know what gc.safepoint_poll is. Also fix the style of the declaration of CreateGCStatepoint, in preparation for another change that will wrap it. Reviewers: reames Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7517 llvm-svn: 228626
Diffstat (limited to 'llvm/lib/IR/IRBuilder.cpp')
-rw-r--r--llvm/lib/IR/IRBuilder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/IR/IRBuilder.cpp b/llvm/lib/IR/IRBuilder.cpp
index dd29e7ae24f..194f01e26ae 100644
--- a/llvm/lib/IR/IRBuilder.cpp
+++ b/llvm/lib/IR/IRBuilder.cpp
@@ -231,10 +231,10 @@ CallInst *IRBuilderBase::CreateMaskedIntrinsic(unsigned Id,
}
CallInst *IRBuilderBase::CreateGCStatepoint(Value *ActualCallee,
- ArrayRef<Value*> CallArgs,
- ArrayRef<Value*> DeoptArgs,
- ArrayRef<Value*> GCArgs,
- const Twine& Name) {
+ ArrayRef<Value *> CallArgs,
+ ArrayRef<Value *> DeoptArgs,
+ ArrayRef<Value *> GCArgs,
+ const Twine &Name) {
// Extract out the type of the callee.
PointerType *FuncPtrType = cast<PointerType>(ActualCallee->getType());
assert(isa<FunctionType>(FuncPtrType->getElementType()) &&
OpenPOWER on IntegriCloud