Skip to content

Commit d366529

Browse files
Fix nojit builds
1 parent ae941cc commit d366529

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Runtime/Base/FunctionBody.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,9 @@ namespace Js
879879
CodeGenRuntimeData = 11,
880880
PolymorphicInlineCachesHead = 12, // DList of all polymorphic inline caches that aren't finalized yet
881881
PropertyIdsForScopeSlotArray = 13, // For SourceInfo
882+
#if ENABLE_PROFILE_INFO
882883
PolymorphicCallSiteInfoHead = 14,
884+
#endif
883885
AuxBlock = 15, // Optional auxiliary information
884886
AuxContextBlock = 16, // Optional auxiliary context specific information
885887
ReferencedPropertyIdMap = 17,
@@ -890,7 +892,9 @@ namespace Js
890892
ForInCacheArray = 22,
891893
SlotIdInCachedScopeToNestedIndexArray = 23,
892894
CodeGenCallbackRuntimeData = 24,
895+
#if ENABLE_PROFILE_INFO
893896
CallbackArgOutInfoList = 25,
897+
#endif
894898

895899
Max,
896900
Invalid = 0xff
@@ -920,7 +924,9 @@ namespace Js
920924
AuxPointerTypeEntry(AuxPointerType::CodeGenRuntimeData, Field(FunctionCodeGenRuntimeData*)*);
921925
AuxPointerTypeEntry(AuxPointerType::PolymorphicInlineCachesHead, FunctionBodyPolymorphicInlineCache*);
922926
AuxPointerTypeEntry(AuxPointerType::PropertyIdsForScopeSlotArray, Js::PropertyId*);
927+
#if ENABLE_PROFILE_INFO
923928
AuxPointerTypeEntry(AuxPointerType::PolymorphicCallSiteInfoHead , PolymorphicCallSiteInfo*);
929+
#endif
924930
AuxPointerTypeEntry(AuxPointerType::AuxBlock, ByteBlock*);
925931
AuxPointerTypeEntry(AuxPointerType::AuxContextBlock, ByteBlock*);
926932
AuxPointerTypeEntry(AuxPointerType::ReferencedPropertyIdMap, PropertyId*);
@@ -931,7 +937,9 @@ namespace Js
931937
AuxPointerTypeEntry(AuxPointerType::ForInCacheArray, EnumeratorCache*);
932938
AuxPointerTypeEntry(AuxPointerType::SlotIdInCachedScopeToNestedIndexArray, Js::AuxArray<uint32>*);
933939
AuxPointerTypeEntry(AuxPointerType::CodeGenCallbackRuntimeData, Field(FunctionCodeGenRuntimeData*)*);
940+
#if ENABLE_PROFILE_INFO
934941
AuxPointerTypeEntry(AuxPointerType::CallbackArgOutInfoList, CallbackInfoList*);
942+
#endif
935943
#undef AuxPointerTypeEntry
936944

937945
typedef AuxPtrs<FunctionProxy, AuxPointerType> AuxPtrsT;

0 commit comments

Comments
 (0)