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

Method nativeRunInt

src/hx/cppia/ArrayBuiltin.cpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 #ifdef CPPIA_JIT
172
173 static void * SLJIT_CALL nativeRunInt(JitMultiArg *args)
174 {
175 Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM> *>(args[0].obj);
176 ELEM &elem = thisVal->Item( args[1].ival );
177 FUNC::apply(elem, args[2].ival);
178 #ifdef HXCPP_GC_GENERATIONAL
179 if (hx::ContainsPointers<ELEM>())
180 HX_OBJ_WB_GET(thisVal,hx::PointerOf(elem));
181 #endif
182 return &elem;
183 }
184
185 static void * SLJIT_CALL nativeRunFloat(JitMultiArg *args)
186 {

Callers

nothing calls this directly

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected