From: Lang Hames <lhames@gmail.com>
Date: Thu, 11 Jun 2015 22:51:01 +0000 (+0000)
Subject: [Orc] Attempted fix for GCC ICE on Polly builder.
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1966aee2fe319ce73be294eaa955945ed896d949;p=oota-llvm.git

[Orc] Attempted fix for GCC ICE on Polly builder.

Along the same lines as the fix in r228568.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239570 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
index cc93a6fa431..d631e1d5ce0 100644
--- a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
+++ b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
@@ -184,7 +184,7 @@ private:
       makeStub(*StubF, *FnBodyPtr);
       CCInfo.setCompileAction(
         [this, &LD, LMH, &F]() {
-          return extractAndCompile(LD, LMH, F);
+          return this->extractAndCompile(LD, LMH, F);
         });
     }