1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[Orc] Add missing capture to lambda.

llvm-svn: 258206
This commit is contained in:
Lang Hames 2016-01-19 22:31:01 +00:00
parent f1e3dd87e3
commit 0f7fb08594

View File

@ -135,7 +135,7 @@ private:
JITSymbol::GetAddressFtor getSymbolMaterializer(std::string Name) override {
return
[this, Name]() {
[this, Name, &Finalized]() {
// The symbol may be materialized between the creation of this lambda
// and its execution, so we need to double check.
if (!Finalized)