diff options
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index b3e9dc5251..df0263ee12 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -255,7 +255,8 @@ void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, if (PID->getGetterCXXConstructor()) { ReturnStmt *Stmt = new (getContext()) ReturnStmt(SourceLocation(), - PID->getGetterCXXConstructor()); + PID->getGetterCXXConstructor(), + 0); EmitReturnStmt(*Stmt); } else { |