shithub: mc

Download patch

ref: 93df2d52a2c354255906237eea901efcb2c2affe
parent: ccd359009acc8ce55a66f65914c7d0736edd4663
author: Ori Bernstein <[email protected]>
date: Tue Jun 18 21:16:55 EDT 2013

Make memory offsets more efficient.

--- a/6/isel.c
+++ b/6/isel.c
@@ -513,9 +513,7 @@
             break;
 
         case Oderef:
-            a = selexpr(s, args[0]);
-            a = inr(s, a);
-            r = locmem(0, a, Rnone, mode(n));
+            r = memloc(s, args[0], mode(n));
             break;
 
         case Oaddr: