Home
last modified time | relevance | path

Searched refs:GlobalContext (Results 1 – 1 of 1) sorted by relevance

/frameworks/compile/libbcc/lib/Core/
DBCCContext.cpp28 static BCCContext *GlobalContext = NULL; variable
31 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()