MCPcopy Create free account
hub / github.com/ReadyTalk/avian / stackCall

Method stackCall

src/compile.cpp:1915–1933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1913 }
1914
1915 void stackCall(ir::Value* methodValue,
1916 GcMethod* methodObject,
1917 unsigned flags,
1918 TraceElement* trace)
1919 {
1920 unsigned footprint = methodObject->parameterFootprint();
1921 unsigned returnCode = methodObject->returnCode();
1922 ir::Value* result = c->stackCall(methodValue,
1923 flags,
1924 trace,
1925 operandTypeForFieldCode(t, returnCode),
1926 peekMethodArguments(footprint));
1927
1928 popFootprint(footprint);
1929
1930 if (returnCode != VoidField) {
1931 pushReturnValue(returnCode, result);
1932 }
1933 }
1934
1935 void referenceStackCall(bool isStatic,
1936 ir::Value* methodValue,

Callers 4

referenceStackCallMethod · 0.45
compileDirectInvokeFunction · 0.45
compileAbstractInvokeFunction · 0.45
compileFunction · 0.45

Calls 1

operandTypeForFieldCodeFunction · 0.85

Tested by

no test coverage detected