* src/vm/options.c (opt_shownops): Removed. This should be replaced
[cacao.git] / src / vm / jit / arm / patcher.c
index e7df6ca4ae6aef3ce94477aa96bffe3878aaef87..28f359db1daf4fa19b6b14e2c9a6529ae0bf0fdd 100644 (file)
@@ -145,11 +145,6 @@ bool patcher_get_putfield(patchref_t *pr)
 
        PATCH_BACK_ORIGINAL_MCODE;
 
-       /* if we show disassembly, we have to skip the nop */
-
-       if (opt_shownops)
-               ra = ra + 1 * 4;
-
        /* patch the field's offset into the instruction */
 
        switch(fi->type) {
@@ -307,11 +302,6 @@ bool patcher_invokevirtual(patchref_t *pr)
 
        PATCH_BACK_ORIGINAL_MCODE;
 
-       /* if we show disassembly, we have to skip the nop */
-
-       if (opt_shownops)
-               ra = ra + 1 * 4;
-
        /* patch vftbl index */
 
        gen_resolveload(*((s4 *) (ra + 1 * 4)), (s4) (OFFSET(vftbl_t, table[0]) + sizeof(methodptr) * m->vftblindex));
@@ -356,11 +346,6 @@ bool patcher_invokeinterface(patchref_t *pr)
 
        PATCH_BACK_ORIGINAL_MCODE;
 
-       /* if we show disassembly, we have to skip the nop */
-
-       if (opt_shownops)
-               ra = ra + 1 * 4;
-
        /* patch interfacetable index */
 
        gen_resolveload(*((s4 *) (ra + 1 * 4)), (s4) (OFFSET(vftbl_t, interfacetable[0]) - sizeof(methodptr*) * m->clazz->index));