| 190 | } |
| 191 | |
| 192 | inline 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 | |
| 202 | inline void pokeInt(Thread* t, unsigned index, uint32_t value) |
| 203 | { |
no outgoing calls
no test coverage detected