Browse Source

32-bit methodinfo fix

Brian Fiete 3 years ago
parent
commit
fef4274fb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IDEHelper/Compiler/BfModuleTypeUtils.cpp

+ 1 - 1
IDEHelper/Compiler/BfModuleTypeUtils.cpp

@@ -2607,7 +2607,7 @@ void BfModule::DoCEEmit(BfMethodInstance* methodInstance)
 			GetConstValue((int64)methodInstance, GetPrimitiveType(BfTypeCode_Int64)), // mNativeMethodInstance
 
 		};
-		FixConstValueParams(methodInfoType->ToTypeInstance(), methodData);
+		FixConstValueParams(methodInfoType->ToTypeInstance(), methodData, true);
 		auto fieldDataAgg = mBfIRBuilder->CreateConstAgg(mBfIRBuilder->MapType(methodInfoType, BfIRPopulateType_Identity), methodData);
 		args.Add(fieldDataAgg);