File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -336,8 +336,8 @@ PHASE(All)
336
336
PHASE (ObjectHeaderInliningForObjectLiterals )
337
337
PHASE (ObjectHeaderInliningForEmptyObjects )
338
338
PHASE (OptUnknownElementName )
339
- #if DBG_DUMP
340
339
PHASE (TypePropertyCache )
340
+ #if DBG_DUMP
341
341
PHASE (InlineSlots )
342
342
#endif
343
343
PHASE (DynamicProfile )
Original file line number Diff line number Diff line change @@ -367,7 +367,13 @@ namespace Js
367
367
JavascriptFunction::IsBuiltinProperty (objectWithProperty, propertyId));
368
368
}
369
369
370
- const bool includeTypePropertyCache = IncludeTypePropertyCache && !isRoot;
370
+ const bool includeTypePropertyCache =
371
+ IncludeTypePropertyCache &&
372
+ !isRoot &&
373
+ (info->GetFunctionBody ()
374
+ ? !PHASE_OFF (Js::TypePropertyCachePhase, info->GetFunctionBody ())
375
+ : !PHASE_OFF1 (Js::TypePropertyCachePhase)
376
+ );
371
377
bool createTypePropertyCache = false ;
372
378
PolymorphicInlineCache *polymorphicInlineCache = info->GetPolymorphicInlineCache ();
373
379
if (!polymorphicInlineCache && info->GetFunctionBody ())
You can’t perform that action at this time.
0 commit comments