mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
[Orc] Oops - lambda capture changed in r258206 was correct.
Fully qualify reference to Finalized in the body of the lambda instead to work around GCC ICE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258208 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
871b3df6d9
commit
b8b874987e
@ -135,10 +135,10 @@ private:
|
||||
|
||||
JITSymbol::GetAddressFtor getSymbolMaterializer(std::string Name) override {
|
||||
return
|
||||
[this, Name, &Finalized]() {
|
||||
[this, Name]() {
|
||||
// The symbol may be materialized between the creation of this lambda
|
||||
// and its execution, so we need to double check.
|
||||
if (!Finalized)
|
||||
if (!this->Finalized)
|
||||
finalize();
|
||||
return getSymbol(Name, false).getAddress();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user