X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FByteCodeFFI.lhs;h=c29b74a91313e5876101e47f0dda1306e6424094;hb=a4d1f3a5a560ee8f4cbf32e2d6a9e9d158c8d8ee;hp=9daef0ab6916aa179eeb794738ecccd7e122cf28;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf;p=ghc-hetmet.git diff --git a/compiler/ghci/ByteCodeFFI.lhs b/compiler/ghci/ByteCodeFFI.lhs index 9daef0a..c29b74a 100644 --- a/compiler/ghci/ByteCodeFFI.lhs +++ b/compiler/ghci/ByteCodeFFI.lhs @@ -5,11 +5,11 @@ ByteCodeGen: Generate machine-code sequences for foreign import \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module ByteCodeFFI ( mkMarshalCode, moan64, newExec ) where @@ -412,7 +412,7 @@ mkMarshalCode_wrk cconv (r_offW, r_rep) addr_offW arg_offs_n_reps f32 = mov_f32_xmm0_rbpoff 0 f64 = mov_f64_xmm0_rbpoff 0 --- ######### x86_64 machine code: +-- ######### x86_64 machine code: -- 0: 48 89 fd mov %rdi,%rbp -- 3: 48 8b bd 78 56 34 12 mov 0x12345678(%rbp),%rdi