Skip to content

Commit dcebfa2

Browse files
Restore sAutoSG in CppInterOp.cpp
1 parent 307574f commit dcebfa2

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
@@ -64,6 +64,10 @@ namespace Cpp {
6464
using namespace llvm;
6565
using namespace std;
6666

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

0 commit comments

Comments
 (0)