Basic support for referring to captured variables from lambdas. Some simple examples seem to work. Tests coming up soon.
llvm-svn: 150293
This commit is contained in:
@@ -329,6 +329,7 @@ void CodeGenFunction::GenerateThunk(llvm::Function *Fn,
|
||||
SourceLocation());
|
||||
|
||||
CGM.getCXXABI().EmitInstanceFunctionProlog(*this);
|
||||
CXXThisValue = CXXABIThisValue;
|
||||
|
||||
// Adjust the 'this' pointer if necessary.
|
||||
llvm::Value *AdjustedThisPtr =
|
||||
|
||||
Reference in New Issue
Block a user