MCPcopy Create free account
hub / github.com/beefytech/Beef / GetIRFunctionParamCount

Method GetIRFunctionParamCount

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:1599–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599int BfMethodInstance::GetIRFunctionParamCount(BfModule* module)
1600{
1601 //TODO: This is dumb, do this better
1602 SizedArray<BfIRType, 8> params;
1603 BfIRType returnType;
1604 GetIRFunctionInfo(module, returnType, params);
1605 return (int)params.size();
1606}
1607
1608bool BfMethodInstance::IsExactMatch(BfMethodInstance* other, bool ignoreImplicitParams, bool checkThis)
1609{

Callers 2

SetupIRMethodMethod · 0.80
ProcessMethodMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected