FrameInjection::FrameInjection(ThreadInfo *&info, CStrRef cls, const char *name, ObjectData *obj, int fs) : m_class(cls), m_name(name), m_object(obj), m_line(0), m_flags(fs), m_staticClass(NULL), m_callingObject(NULL) { info = doCommon(); hotProfilerInit(info, name); injection_check(info); }
FrameInjection::FrameInjection(CStrRef cls, const char *name, int fs) : m_class(cls), m_name(name), m_object(NULL), #ifdef ENABLE_LATE_STATIC_BINDING m_staticClass(NULL), m_callingObject(NULL), #endif m_line(0), m_flags(fs) { m_info = ThreadInfo::s_threadInfo.getNoCheck(); injection_check(m_info); doCommon(); hotProfilerInit(m_info, name); }