]> Shamusworld >> Repos - rmac/blobdiff - eagen0.c
Removed -w flag, added +o[n], ~o[n] switches to control individual optimisations...
[rmac] / eagen0.c
index 8ac72ed3824ff3e2cd7055805d3ff276439aa590..7ec6ccb0fcf28cdbca6156b8982e802bd0cc1f41 100644 (file)
--- a/eagen0.c
+++ b/eagen0.c
@@ -39,7 +39,7 @@ int eaNgen(WORD siz)
                        if (tdb)
                                rmark(cursect, sloc, tdb, MWORD, NULL);
 
-                       if ((v == 0) && optim_flag)
+                       if ((v == 0) && optim_flags[OPT_INDIRECT_DISP])
                        {
                                // If expr is 0, size optimise the opcode.
                                // Generally the lower 6 bits of the opcode