Skip to content

Commit 2ab35af

Browse files
Restore sAutoSG in CppInterOp.cpp
1 parent 1f5111e commit 2ab35af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Interpreter/CppInterOp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ namespace Cpp {
6666
using namespace llvm;
6767
using namespace std;
6868

69+
// Last assigned Autoload SearchGenerator
70+
// TODO: Test fot thread safe.
71+
class AutoLoadLibrarySearchGenerator;
72+
static AutoLoadLibrarySearchGenerator *sAutoSG = null;
6973
// Flag to indicate ownership when an external interpreter instance is used.
7074
static bool OwningSInterpreter = true;
7175
static compat::Interpreter* sInterpreter = nullptr;

0 commit comments

Comments
 (0)