]> git.sur5r.net Git - cc65/blobdiff - src/cc65/asmcode.c
More optimizations
[cc65] / src / cc65 / asmcode.c
index 8308249e48367248eb8f9d6430cac62b090a7124..39092092fc4990cd60ba065dbe7f63302a1e4178 100644 (file)
@@ -68,6 +68,16 @@ void RemoveCode (CodeMark M)
 
 
 
+void MoveCode (CodeMark Start, CodeMark End, CodeMark Target)
+/* Move the code between Start (inclusive) and End (exclusive) to
+ * (before) Target.
+ */
+{                                      
+    CS_MoveEntries (CS->Code, Start, End - Start, Target);
+}
+
+
+
 void WriteOutput (FILE* F)
 /* Write the final output to a file */
 {