diff options
author | David Terei <davidterei@gmail.com> | 2011-10-17 14:50:09 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-10-17 14:50:09 -0700 |
commit | c726526a03f62802254f4dfcd826e48456bb831e (patch) | |
tree | a73631effcc8baa56ab9f0aeb794d570e0245ad6 /driver/test_mangler | |
parent | 6f43ec8ca0e4edfe9b449e3df10f01d5d3d36331 (diff) | |
download | haskell-c726526a03f62802254f4dfcd826e48456bb831e.tar.gz |
remove some old files
Diffstat (limited to 'driver/test_mangler')
-rw-r--r-- | driver/test_mangler | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/driver/test_mangler b/driver/test_mangler deleted file mode 100644 index 96cf31ca68..0000000000 --- a/driver/test_mangler +++ /dev/null @@ -1,29 +0,0 @@ -#! /usr/bin/perl -# a simple wrapper to test a .s-file mangler -# reads stdin, writes stdout - -push(@INC,"/net/dazdak/BUILDS/gransim-4.04/i386-unknown-linux/ghc/driver"); - -$TargetPlatform = $ARGV[0]; shift; # nice error checking, Will - -require("ghc-asm.prl") || die "require mangler failed!\n"; - -$SpX86Mangling = 1; -$StolenX86Regs = 4; - -open(INP, "> /tmp/mangle1.$$") || die "Can't open tmp file 1\n"; -while (<>) { - print INP $_; -} -close(INP) || die "Can't close tmp file 1"; - -&mangle_asm("/tmp/mangle1.$$", "/tmp/mangle2.$$"); - -open(INP, "< /tmp/mangle2.$$") || die "Can't open tmp file 2\n"; -while (<INP>) { - print STDOUT $_; -} -close(INP) || die "Can't close tmp file 2"; - -unlink("/tmp/mangle1.$$", "/tmp/mangle2.$$"); -exit(0); |