Home | History | Annotate | Download | only in Core

Lines Matching defs:GlobalContext

28 static BCCContext *GlobalContext = NULL;
31 if (GlobalContext == NULL) {
32 GlobalContext = new (std::nothrow) BCCContext();
33 if (GlobalContext == NULL) {
37 return GlobalContext;
41 delete GlobalContext;
42 GlobalContext = NULL;
49 if (this == GlobalContext) {
51 // Reset the GlobalContext.
52 GlobalContext = NULL;