MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / convertResult

Method convertResult

src/hx/cppia/CppiaCompiler.cpp:1083–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081
1082
1083 void convertResult(ExprType inSrcType, const JitVal &inTarget, ExprType inToType) HXCPP_OVERRIDE
1084 {
1085 if (inSrcType!=etVoid && inSrcType!=etNull && inToType!=etVoid && inToType!=etNull)
1086 {
1087 convert( JitFramePos(frameSize, getJitType(inSrcType)), inSrcType, inTarget, inToType);
1088 }
1089 }
1090
1091
1092 void convertReturnReg(ExprType inSrcType, const JitVal &inTarget, ExprType inToType, bool asBool = false) HXCPP_OVERRIDE

Callers 5

genCodeMethod · 0.80
genFunctionResultFunction · 0.80
genCodeMethod · 0.80
genCodeMethod · 0.80
genCodeMethod · 0.80

Calls 3

convertFunction · 0.85
JitFramePosClass · 0.85
getJitTypeFunction · 0.85

Tested by

no test coverage detected