changeset 116:a609e5c42ecc

change from CGF to this
author mir3636
date Mon, 08 Aug 2016 19:47:00 +0900
parents 95b91bc9a2f8
children facf19d07cd9
files tools/clang/lib/CodeGen/CGCall.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/clang/lib/CodeGen/CGCall.cpp	Fri Aug 05 19:04:52 2016 +0900
+++ b/tools/clang/lib/CodeGen/CGCall.cpp	Mon Aug 08 19:47:00 2016 +0900
@@ -3460,7 +3460,7 @@
     IRCallArgs[IRFunctionArgs.getInallocaArgNo()] = Arg;
   }
 #ifndef noCbC
-  if (CGF.FnRetTy.getTypePtr()->is__CodeType()) {
+  if (this->FnRetTy.getTypePtr()->is__CodeType()) {
     EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin());
     auto *CleanupSource = reinterpret_cast<char *>(Scope.getCleanupBuffer());
     llvm::AlignedCharArray<EHScopeStack::ScopeStackAlignment, 8 * sizeof(void *)> CleanupBufferStack;
@@ -3482,7 +3482,7 @@
         cleanupFlags.setIsNormalCleanupKind();
     if (Scope.isEHCleanup())
         cleanupFlags.setIsEHCleanupKind();
-    Fn->Emit(CGF, cleanupFlags);
+    Fn->Emit(*this, cleanupFlags);
   }
 #endif
   if (!CallArgs.getCleanupsToDeactivate().empty())