mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
[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:
parent
93411cf4f8
commit
5a81520668
@ -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) {
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user