Properly parse GC blocks for functions with info tables
authorMichael D. Adams <adamsmd@cs.indiana.edu>
Sun, 15 Jul 2007 20:41:16 +0000 (20:41 +0000)
committerMichael D. Adams <adamsmd@cs.indiana.edu>
Sun, 15 Jul 2007 20:41:16 +0000 (20:41 +0000)
compiler/cmm/CmmParse.y

index 23f9880..2cf1d1d 100644 (file)
@@ -210,7 +210,7 @@ cmmproc :: { ExtCode }
                         $6;
                         return (info_lbl, info, live, formals, frame, gc_block) }
                     blks <- code (cgStmtsToBlocks stmts)
-                    code (emitInfoTableAndCode info_lbl (CmmInfo Nothing frame info) formals blks) }
+                    code (emitInfoTableAndCode info_lbl (CmmInfo gc_block frame info) formals blks) }
 
        | info maybe_formals ';'
                { do (info_lbl, info, live) <- $1;