aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-16 07:57:57 +0000
committerMike Stump <mrs@apple.com>2009-05-16 07:57:57 +0000
commitf5408fe484495ee4efbdd709c8a2c2fdbbbdb328 (patch)
treeb09dd07e36daa3a9cb86a0c6c0ab33144deb0c20 /lib/CodeGen/CGCXX.cpp
parent390b4cc8b45a05612349269ef08faab3e4688f06 (diff)
Reflow some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
-rw-r--r--lib/CodeGen/CGCXX.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp
index 4c2faf0a60..e0ea2b98eb 100644
--- a/lib/CodeGen/CGCXX.cpp
+++ b/lib/CodeGen/CGCXX.cpp
@@ -131,6 +131,8 @@ llvm::Value *CodeGenFunction::LoadCXXThis() {
"Must be in a C++ member function decl to load 'this'");
// FIXME: What if we're inside a block?
+ // ans: See how CodeGenFunction::LoadObjCSelf() uses
+ // CodeGenFunction::BlockForwardSelf() for how to do this.
return Builder.CreateLoad(LocalDeclMap[CXXThisDecl], "this");
}