Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/28415e1813d8167cfee630b1c7a0709ff7136b7a

>---------------------------------------------------------------

commit 28415e1813d8167cfee630b1c7a0709ff7136b7a
Author: Simon Marlow <[email protected]>
Date:   Tue May 22 12:16:09 2012 +0100

    dead code: guess_compiler_flags()

>---------------------------------------------------------------

 driver/testlib.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/driver/testlib.py b/driver/testlib.py
index 069f738..401053a 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -1669,15 +1669,6 @@ def if_verbose_dump( n, f ):
         except:
             print ''
 
-# Guess flags suitable for the compiler.
-def guess_compiler_flags():
-   if config.compiler_type == 'ghc':
-       return ['-fforce-recomp', '-dcore-lint', '-no-user-package-db']
-   elif config.compiler_type == 'nhc':
-       return ['-an-nhc-specific-flag']
-   else:
-        return []
-
 def rawSystem(cmd_and_args):
     # We prefer subprocess.call to os.spawnv as the latter
     # seems to send its arguments through a shell or something



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to