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

Function pokeObject

src/interpret.cpp:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192inline void pokeObject(Thread* t, unsigned index, object value)
193{
194 if (DebugStack) {
195 fprintf(stderr, "poke object %p at %d\n", value, index);
196 }
197
198 t->stack[index * 2] = ObjectTag;
199 t->stack[(index * 2) + 1] = reinterpret_cast<uintptr_t>(value);
200}
201
202inline void pokeInt(Thread* t, unsigned index, uint32_t value)
203{

Callers 2

setLocalObjectFunction · 0.85
pushFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected