Searched refs:isEnable (Results 1 – 2 of 2) sorted by relevance
61 PGOProfiler *Build(EcmaVM *vm, bool isEnable) in Build() argument63 if (isEnable) { in Build()64 isEnable = InitializeData(); in Build()66 return new PGOProfiler(vm, isEnable); in Build()82 void Reset(PGOProfiler *profiler, bool isEnable) in Reset() argument84 if (isEnable) { in Reset()85 isEnable = InitializeData(); in Reset()88 profiler->Reset(isEnable); in Reset()
49 PGOProfiler([[maybe_unused]] EcmaVM *vm, bool isEnable) : isEnable_(isEnable) in PGOProfiler() argument61 void Reset(bool isEnable) in Reset() argument63 isEnable_ = isEnable; in Reset()