[Orc] Revert r228567 (GCC ICE workaround) - it doesn't seem to have helped.

As far as I can tell r228568 was the right workaround, and r228567 was
unnecessary. If reverting this causes problems on the bots I'll reinstate it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2015-02-09 18:16:43 +00:00
parent 93411cf4f8
commit 5a81520668
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ private:
case NotEmitted:
if (provides(Name, ExportedSymbolsOnly))
return JITSymbol(
[=,&B]() -> TargetAddress {
[this,ExportedSymbolsOnly,Name,&B]() -> TargetAddress {
if (this->EmitState == Emitting)
return 0;
else if (this->EmitState != Emitted) {

View 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 (this->NotifyFinalized)