Try aligning info tables to 4 bytes wip/rwbarton-align4
authorReid Barton <rwbarton@gmail.com>
Thu, 28 Jan 2016 18:10:42 +0000 (13:10 -0500)
committerReid Barton <rwbarton@gmail.com>
Thu, 28 Jan 2016 18:11:30 +0000 (13:11 -0500)
compiler/nativeGen/X86/Ppr.hs

index 7809ae1..301c44b 100644 (file)
@@ -109,7 +109,7 @@ pprBasicBlock info_env (BasicBlock blockid instrs)
     maybe_infotable = case mapLookup blockid info_env of
        Nothing   -> empty
        Just (Statics info_lbl info) ->
-           pprAlignForSection Text $$
+           text ".align 4" $$
            infoTableLoc $$
            vcat (map pprData info) $$
            pprLabel info_lbl