We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511f501 commit 40e4a3eCopy full SHA for 40e4a3e
lib/Backend/Func.h
@@ -206,7 +206,7 @@ class Func
206
!PHASE_OFF(Js::GlobOptPhase, this) && !IsSimpleJit() &&
207
(!GetTopFunc()->HasTry() || GetTopFunc()->CanOptimizeTryCatch()) &&
208
(!GetTopFunc()->HasFinally() || GetTopFunc()->CanOptimizeTryFinally()) &&
209
- !GetTopFunc()->GetJITFunctionBody()->IsCoroutine();
+ (!GetTopFunc()->GetJITFunctionBody()->IsCoroutine() || !PHASE_OFF(Js::GeneratorGlobOptPhase, this));
210
}
211
212
bool DoInline() const
lib/Common/ConfigFlagsList.h
@@ -325,6 +325,7 @@ PHASE(All)
325
PHASE(Host)
326
PHASE(BailOut)
327
PHASE(BailIn)
328
+ PHASE(GeneratorGlobOpt)
329
PHASE(RegexQc)
330
PHASE(RegexOptBT)
331
PHASE(InlineCache)
0 commit comments