Skip to content

Commit d28a736

Browse files
Restore sAutoSG in CppInterOp.cpp
1 parent 0dd2720 commit d28a736

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

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

0 commit comments

Comments
 (0)