Home | History | Annotate | Download | only in armv5te
      1 %default { "routine":"NoRange" }
      2 %verify "executed"
      3 %verify "unknown method"
      4     /*
      5      * Handle a static method call.
      6      *
      7      * for: invoke-static, invoke-static/range
      8      */
      9     /* op vB, {vD, vE, vF, vG, vA}, class@CCCC */
     10     /* op {vCCCC..v(CCCC+AA-1)}, meth@BBBB */
     11     ldr     r3, [rGLUE, #offGlue_methodClassDex]    @ r3<- pDvmDex
     12     FETCH(r1, 1)                        @ r1<- BBBB
     13     ldr     r3, [r3, #offDvmDex_pResMethods]    @ r3<- pDvmDex->pResMethods
     14     ldr     r0, [r3, r1, lsl #2]        @ r0<- resolved methodToCall
     15     cmp     r0, #0                      @ already resolved?
     16     EXPORT_PC()                         @ must export for invoke
     17     bne     common_invokeMethod${routine} @ yes, continue on
     18 0:  ldr     r3, [rGLUE, #offGlue_method] @ r3<- glue->method
     19     ldr     r0, [r3, #offMethod_clazz]  @ r0<- method->clazz
     20     mov     r2, #METHOD_STATIC          @ resolver method type
     21     bl      dvmResolveMethod            @ r0<- call(clazz, ref, flags)
     22     cmp     r0, #0                      @ got null?
     23     bne     common_invokeMethod${routine} @ no, continue
     24     b       common_exceptionThrown      @ yes, handle exception
     25 
     26