aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-14 16:58:56 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-14 16:58:56 +0000
commit5f4307b7ba164b03c853c8d3eb4674d33f8967a6 (patch)
tree78c5a7944c965c7889abbfdf0c31408a8dcbb6a0 /lib/CodeGen/CodeGenFunction.h
parent0fab49f7daa53a53882f19c2879feb210608fe00 (diff)
Support code generation of 'this' exprs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 4342332de2..e96b815dd5 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -454,6 +454,10 @@ public:
// of a variable length array type.
llvm::Value *GetVLASize(const VariableArrayType *);
+ /// LoadCXXThis - Load the value of 'this'. This function is only valid while
+ /// generating code for an C++ member function.
+ llvm::Value *LoadCXXThis();
+
//===--------------------------------------------------------------------===//
// Declaration Emission
//===--------------------------------------------------------------------===//