[MLton] Patch to mlton/codegen/x86-codegen/x86-translate.fun

Vesa Karvonen vesa.karvonen at cs.helsinki.fi
Wed Oct 25 07:21:38 PDT 2006


Attempt to build MLton from trunk gives me the following error:

Error: codegen/x86-codegen/x86-translate.fun 812.25.
  Undefined structure Assembly.
         parseAndElaborate raised in 7.88 + 5.91 (43% GC)

Below is a trivial patch that seems to fix the problem.  Shall I
commit it?

-Vesa Karvonen

Index: mlton/codegen/x86-codegen/x86-translate.fun
===================================================================
--- mlton/codegen/x86-codegen/x86-translate.fun	(revision 4772)
+++ mlton/codegen/x86-codegen/x86-translate.fun	(working copy)
@@ -809,7 +809,7 @@
             val data =
                if List.isEmpty data
                   then []
-                  else (Assembly.pseudoop_data())::data
+                  else (x86.Assembly.pseudoop_data())::data
           in
             x86.Chunk.T {data = data, blocks = x86Blocks}
           end



More information about the MLton mailing list