summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCRuntime.h
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2010-04-28 19:33:36 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2010-04-28 19:33:36 +0000
commit01aa46795ec7cc3944de12a41cc87b4af8c45da8 (patch)
tree089f61d1a59c3db9c3abcf5eb4a60ac8389dc4b4 /clang/lib/CodeGen/CGObjCRuntime.h
parent888c17073ab8b7f8015162ecbd478c9c94162216 (diff)
downloadbcm5719-llvm-01aa46795ec7cc3944de12a41cc87b4af8c45da8.tar.gz
bcm5719-llvm-01aa46795ec7cc3944de12a41cc87b4af8c45da8.zip
Changed signature of GenerateMessageSend() function to pass the ObjCInterfaceDecl for class messages and removed the boolean IsClassMessage argument, which wasn't used anywhere.
Emitted some metadata on message sends to allow a later pass to do some speculative inlining of class methods (GNU runtime). Speculative inlining of instance methods requires type feedback to be useful (work in progress), but for class methods it works quite nicely. llvm-svn: 102514
Diffstat (limited to 'clang/lib/CodeGen/CGObjCRuntime.h')
-rw-r--r--clang/lib/CodeGen/CGObjCRuntime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCRuntime.h b/clang/lib/CodeGen/CGObjCRuntime.h
index 64e68083c0b..654ad0a4bfa 100644
--- a/clang/lib/CodeGen/CGObjCRuntime.h
+++ b/clang/lib/CodeGen/CGObjCRuntime.h
@@ -122,8 +122,8 @@ public:
QualType ResultType,
Selector Sel,
llvm::Value *Receiver,
- bool IsClassMessage,
const CallArgList &CallArgs,
+ const ObjCInterfaceDecl *Class = 0,
const ObjCMethodDecl *Method = 0) = 0;
/// Generate an Objective-C message send operation to the super
OpenPOWER on IntegriCloud