]> Joshua Wise's Git repositories - snipe.git/blobdiff - codegen/stringifier.sml
Initial import of l4c
[snipe.git] / codegen / stringifier.sml
index 74fe8c15b046cd4be77dfeeb22d98da862ea62ac..5010d7bc048d0b806491b2bec9dafb2092f79047 100644 (file)
@@ -18,8 +18,8 @@ struct
   (* val stringify : asm -> string
    * turns a x86 instruction list into a string of assembly code for these instructions *)
 
-  fun stringify' rn (X.CALL (l, n)) = X.prettyprint X.Long (X.CALL ((Symbol.symbol (rn (Symbol.name l))), n))
-    | stringify' rn x = X.prettyprint X.Long x
+  fun stringify' rn (X.CALL (l, n)) = X.prettyprint (X.CALL ((Symbol.symbol (rn (Symbol.name l))), n))
+    | stringify' rn x = X.prettyprint x
 
   (* val stringify : asm -> string *)
   fun stringify realname l = foldr (fn (a,b) => (stringify' realname a) ^ b) ("") l
This page took 0.023996 seconds and 4 git commands to generate.