[Orc] Tweak lambda capture lists to try to avoid an ICE on gcc-4.7.2. NFC.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / ObjectLinkingLayer.h
index ce306e67dde5c4a7f5dc4777a05eafa6facf1231..f9cb285927ebaea51de906817119f2ca53e2ba47 100644 (file)
@@ -221,7 +221,7 @@ public:
                          bool ExportedSymbolsOnly) {
     if (auto Addr = H->getSymbolAddress(Name, ExportedSymbolsOnly))
       return JITSymbol(
-        [this, Addr, H](){
+        [=](){
           if (H->NeedsFinalization()) {
             H->Finalize();
             if (NotifyFinalized)