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

Method traceFloat

src/hx/cppia/CppiaCompiler.cpp:1139–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137 callNative( (void *)my_trace_int_func, JitVal((void *)inLabel), inValue);
1138 }
1139 void traceFloat(const char *inLabel, const JitVal &inValue) HXCPP_OVERRIDE
1140 {
1141 if (isMemoryVal(inValue))
1142 {
1143 makeAddress(sJitArg1,inValue);
1144 callNative( (void *)my_trace_float_func, (void *)inLabel, sJitArg1);
1145 }
1146 else
1147 {
1148 JitTemp tmp(this,etFloat);
1149 move(tmp,inValue);
1150 makeAddress(sJitArg1,tmp);
1151 callNative( (void *)my_trace_float_func, (void *)inLabel,sJitArg1);
1152 }
1153 }
1154
1155 void trace(const char *inText) HXCPP_OVERRIDE
1156 {

Callers

nothing calls this directly

Calls 1

isMemoryValFunction · 0.85

Tested by

no test coverage detected