@@ -425,7 +425,7 @@ namespace Js
425
425
426
426
#define INIT_SIMPLE_TYPE (field, typeId, prototype ) \
427
427
field = DynamicType::New (scriptContext, typeId, prototype, nullptr , \
428
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true )
428
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true )
429
429
430
430
INIT_SIMPLE_TYPE (activationObjectType, TypeIds_ActivationObject, nullValue);
431
431
INIT_SIMPLE_TYPE (arrayType, TypeIds_Array, arrayPrototype);
@@ -523,7 +523,7 @@ namespace Js
523
523
524
524
// Initialize Date types
525
525
dateType = DynamicType::New (scriptContext, TypeIds_Date, datePrototype, nullptr ,
526
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
526
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
527
527
variantDateType = StaticType::New (scriptContext, TypeIds_VariantDate, nullValue, nullptr );
528
528
529
529
anonymousFunctionTypeHandler = NullTypeHandler<false >::GetDefaultInstance ();
@@ -566,7 +566,7 @@ namespace Js
566
566
else
567
567
{
568
568
boundFunctionType = DynamicType::New (scriptContext, TypeIds_Function, functionPrototype, BoundFunction::NewInstance,
569
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
569
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
570
570
}
571
571
crossSiteDeferredPrototypeFunctionType = CreateDeferredPrototypeFunctionTypeNoProfileThunk (
572
572
scriptContext->CurrentCrossSiteThunk , true /* isShared*/ );
@@ -627,8 +627,8 @@ namespace Js
627
627
// Initialize Object types
628
628
for (int16 i = 0 ; i < PreInitializedObjectTypeCount; i++)
629
629
{
630
- SimplePathTypeHandler * typeHandler =
631
- SimplePathTypeHandler ::New (
630
+ SimplePathTypeHandlerNoAttr * typeHandler =
631
+ SimplePathTypeHandlerNoAttr ::New (
632
632
scriptContext,
633
633
this ->GetRootPath (),
634
634
0 ,
@@ -641,8 +641,8 @@ namespace Js
641
641
}
642
642
for (int16 i = 0 ; i < PreInitializedObjectTypeCount; i++)
643
643
{
644
- SimplePathTypeHandler * typeHandler =
645
- SimplePathTypeHandler ::New (
644
+ SimplePathTypeHandlerNoAttr * typeHandler =
645
+ SimplePathTypeHandlerNoAttr ::New (
646
646
scriptContext,
647
647
this ->GetRootPath (),
648
648
0 ,
@@ -655,15 +655,15 @@ namespace Js
655
655
DynamicType::New (scriptContext, TypeIds_Object, objectPrototype, nullptr , typeHandler, true , true );
656
656
}
657
657
658
- SimplePathTypeHandler * typeHandler = SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true );
658
+ SimplePathTypeHandlerNoAttr * typeHandler = SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true );
659
659
nullPrototypeObjectType = DynamicType::New (scriptContext, TypeIds_Object, nullValue, nullptr , typeHandler, true , true );
660
660
661
661
// Initialize regex types
662
662
TypePath *const regexResultPath = TypePath::New (recycler);
663
663
regexResultPath->Add (BuiltInPropertyRecords::input);
664
664
regexResultPath->Add (BuiltInPropertyRecords::index);
665
665
regexResultType = DynamicType::New (scriptContext, TypeIds_Array, arrayPrototype, nullptr ,
666
- SimplePathTypeHandler ::New (scriptContext, regexResultPath, regexResultPath->GetPathLength (), JavascriptRegularExpressionResult::InlineSlotCount, sizeof (JavascriptArray), true , true ), true , true );
666
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, regexResultPath, regexResultPath->GetPathLength (), JavascriptRegularExpressionResult::InlineSlotCount, sizeof (JavascriptArray), true , true ), true , true );
667
667
668
668
// Initialize string types
669
669
// static type is handled under StringCache.h
@@ -673,33 +673,33 @@ namespace Js
673
673
throwErrorObjectType = StaticType::New (scriptContext, TypeIds_Undefined, nullValue, ThrowErrorObject::DefaultEntryPoint);
674
674
675
675
mapType = DynamicType::New (scriptContext, TypeIds_Map, mapPrototype, nullptr ,
676
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
676
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
677
677
678
678
setType = DynamicType::New (scriptContext, TypeIds_Set, setPrototype, nullptr ,
679
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
679
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
680
680
681
681
weakMapType = DynamicType::New (scriptContext, TypeIds_WeakMap, weakMapPrototype, nullptr ,
682
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
682
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
683
683
684
684
weakSetType = DynamicType::New (scriptContext, TypeIds_WeakSet, weakSetPrototype, nullptr ,
685
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
685
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
686
686
687
687
TypePath *const iteratorResultPath = TypePath::New (recycler);
688
688
iteratorResultPath->Add (BuiltInPropertyRecords::value);
689
689
iteratorResultPath->Add (BuiltInPropertyRecords::done);
690
690
iteratorResultType = DynamicType::New (scriptContext, TypeIds_Object, objectPrototype, nullptr ,
691
- SimplePathTypeHandler ::New (scriptContext, iteratorResultPath, iteratorResultPath->GetPathLength (), 2 , sizeof (DynamicObject), true , true ), true , true );
691
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, iteratorResultPath, iteratorResultPath->GetPathLength (), 2 , sizeof (DynamicObject), true , true ), true , true );
692
692
693
693
arrayIteratorType = DynamicType::New (scriptContext, TypeIds_ArrayIterator, arrayIteratorPrototype, nullptr ,
694
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
694
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
695
695
mapIteratorType = DynamicType::New (scriptContext, TypeIds_MapIterator, mapIteratorPrototype, nullptr ,
696
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
696
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
697
697
setIteratorType = DynamicType::New (scriptContext, TypeIds_SetIterator, setIteratorPrototype, nullptr ,
698
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
698
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
699
699
stringIteratorType = DynamicType::New (scriptContext, TypeIds_StringIterator, stringIteratorPrototype, nullptr ,
700
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
700
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
701
701
listIteratorType = DynamicType::New (scriptContext, TypeIds_ListIterator, iteratorPrototype, nullptr ,
702
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
702
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
703
703
704
704
if (config->IsES6GeneratorsEnabled ())
705
705
{
@@ -711,10 +711,10 @@ namespace Js
711
711
712
712
#ifdef ENABLE_DEBUG_CONFIG_OPTIONS
713
713
debugDisposableObjectType = DynamicType::New (scriptContext, TypeIds_Object, objectPrototype, nullptr ,
714
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
714
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
715
715
716
716
debugFuncExecutorInDisposeObjectType = DynamicType::New (scriptContext, TypeIds_Object, objectPrototype, nullptr ,
717
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
717
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
718
718
#endif
719
719
}
720
720
@@ -2711,8 +2711,8 @@ namespace Js
2711
2711
DeferredTypeHandler<InitializeRegexPrototype, DefaultDeferredTypeFilter, true >::GetDefaultInstance ()));
2712
2712
}
2713
2713
2714
- SimplePathTypeHandler *typeHandler =
2715
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true );
2714
+ SimplePathTypeHandlerNoAttr *typeHandler =
2715
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true );
2716
2716
// See JavascriptRegExp::IsWritable for property writability
2717
2717
if (!scriptConfig->IsES6RegExPrototypePropertiesEnabled ())
2718
2718
{
@@ -6860,7 +6860,7 @@ namespace Js
6860
6860
}
6861
6861
oldCachedType = dynamicType;
6862
6862
#endif
6863
- SimplePathTypeHandler * typeHandler = SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , requestedInlineSlotCapacity, offsetOfInlineSlots, true , true );
6863
+ SimplePathTypeHandlerNoAttr * typeHandler = SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , requestedInlineSlotCapacity, offsetOfInlineSlots, true , true );
6864
6864
dynamicType = DynamicType::New (scriptContext, typeId, prototype, RecyclableObject::DefaultEntryPoint, typeHandler, true , true );
6865
6865
6866
6866
if (useCache)
@@ -6890,7 +6890,7 @@ namespace Js
6890
6890
DynamicType* JavascriptLibrary::CreateObjectTypeNoCache (RecyclableObject* prototype, Js::TypeId typeId)
6891
6891
{
6892
6892
return DynamicType::New (scriptContext, typeId, prototype, RecyclableObject::DefaultEntryPoint,
6893
- SimplePathTypeHandler ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
6893
+ SimplePathTypeHandlerNoAttr ::New (scriptContext, this ->GetRootPath (), 0 , 0 , 0 , true , true ), true , true );
6894
6894
}
6895
6895
6896
6896
DynamicType* JavascriptLibrary::CreateObjectType (RecyclableObject* prototype, uint16 requestedInlineSlotCapacity)
0 commit comments