Home | History | Annotate | Download | only in lib

Lines Matching refs:GlobalContext

27 static BCCContext *GlobalContext = nullptr;
30 if (GlobalContext == nullptr) {
31 GlobalContext = new (std::nothrow) BCCContext();
32 if (GlobalContext == nullptr) {
36 return GlobalContext;
40 delete GlobalContext;
41 GlobalContext = nullptr;
48 if (this == GlobalContext) {
50 // Reset the GlobalContext.
51 GlobalContext = nullptr;