Home | History | Annotate | Download | only in libdex

Lines Matching refs:reg

120 static void emitLocalCbIfLive(void *cnxt, int reg, u4 endAddress,
123 if (localCb != NULL && localInReg[reg].live) {
124 localCb(cnxt, reg, localInReg[reg].startAddress, endAddress,
125 localInReg[reg].name,
126 localInReg[reg].descriptor,
127 localInReg[reg].signature == NULL
128 ? "" : localInReg[reg].signature );
182 int reg;
190 reg = argReg;
203 localInReg[reg].name = name;
204 localInReg[reg].descriptor = descriptor;
205 localInReg[reg].signature = NULL;
206 localInReg[reg].startAddress = address;
207 localInReg[reg].live = true;
213 u2 reg;
229 reg = readUnsignedLeb128(&stream);
230 if (reg > pCode->registersSize) {
236 emitLocalCbIfLive(cnxt, reg, address,
239 localInReg[reg].name = readStringIdx(pDexFile, &stream);
240 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream);
242 localInReg[reg].signature
245 localInReg[reg].signature = NULL;
247 localInReg[reg].startAddress = address;
248 localInReg[reg].live = true;
252 reg = readUnsignedLeb128(&stream);
253 if (reg > pCode->registersSize) {
258 emitLocalCbIfLive (cnxt, reg, address, localInReg, localCb);
259 localInReg[reg].live = false;
263 reg = readUnsignedLeb128(&stream);
264 if (reg > pCode->registersSize) {
269 if (localInReg[reg].name == NULL
270 || localInReg[reg].descriptor == NULL) {
279 if (!localInReg[reg].live) {
280 localInReg[reg].startAddress = address;
281 localInReg[reg].live = true;
331 for (int reg = 0; reg < pCode->registersSize; reg++) {
332 emitLocalCbIfLive(cnxt, reg, pCode->insnsSize, localInReg, localCb);