]> git.gag.com Git - fw/sdcc/blobdiff - src/port.h
* src/SDCCpeeph.c (deadMove),
[fw/sdcc] / src / port.h
index e07d7a95ee00eda51d910c82275240e18723fc39..93e03b4141bdcfe952ee780549e8a06a593eb88d 100644 (file)
@@ -8,6 +8,7 @@
 #include "SDCCicode.h"
 #include "SDCCargs.h"
 #include "SDCCpeeph.h"
+#include "mcs51/peep.h"
 
 #define TARGET_ID_MCS51    1
 #define TARGET_ID_GBZ80    2
@@ -131,6 +132,7 @@ typedef struct
         int (*getSize)(lineNode *line);
         bitVect * (*getRegsRead)(lineNode *line);
         bitVect * (*getRegsWritten)(lineNode *line);
+        bool (*deadMove) (const char *reg, lineNode *currPl, lineNode *head);
       }
     peep;