Searched refs:GlobalContext (Results 1 – 1 of 1) sorted by relevance
28 static BCCContext *GlobalContext = NULL; variable31 if (GlobalContext == NULL) { in GetOrCreateGlobalContext()32 GlobalContext = new (std::nothrow) BCCContext(); in GetOrCreateGlobalContext()33 if (GlobalContext == NULL) { in GetOrCreateGlobalContext()37 return GlobalContext; in GetOrCreateGlobalContext()41 delete GlobalContext; in DestroyGlobalContext()42 GlobalContext = NULL; in DestroyGlobalContext()49 if (this == GlobalContext) { in ~BCCContext()52 GlobalContext = NULL; in ~BCCContext()