1%default { "isrange":"0", "routine":"NoRange" } 2%verify "executed" 3%verify "unknown method" 4 /* 5 * Handle an optimized "super" method call. 6 * 7 * for: [opt] invoke-super-quick, invoke-super-quick/range 8 */ 9 /* op vB, {vD, vE, vF, vG, vA}, class@CCCC */ 10 /* op vAA, {vCCCC..v(CCCC+AA-1)}, meth@BBBB */ 11 FETCH(r10, 2) @ r10<- GFED or CCCC 12 ldr r2, [rGLUE, #offGlue_method] @ r2<- current method 13 .if (!$isrange) 14 and r10, r10, #15 @ r10<- D (or stays CCCC) 15 .endif 16 FETCH(r1, 1) @ r1<- BBBB 17 ldr r2, [r2, #offMethod_clazz] @ r2<- method->clazz 18 EXPORT_PC() @ must export for invoke 19 ldr r2, [r2, #offClassObject_super] @ r2<- method->clazz->super 20 GET_VREG(r3, r10) @ r3<- "this" 21 ldr r2, [r2, #offClassObject_vtable] @ r2<- ...clazz->super->vtable 22 cmp r3, #0 @ null "this" ref? 23 ldr r0, [r2, r1, lsl #2] @ r0<- super->vtable[BBBB] 24 beq common_errNullObject @ "this" is null, throw exception 25 bl common_invokeMethod${routine} @ continue on 26 27