From: simonm Date: Mon, 1 Mar 1999 15:17:43 +0000 (+0000) Subject: [project @ 1999-03-01 15:17:43 by simonm] X-Git-Tag: Approximately_9120_patches~6480 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=60ec01cc2792b7f6cd0225b961ac77e362384f1f;p=ghc-hetmet.git [project @ 1999-03-01 15:17:43 by simonm] Bring in rev. 1.22.2.1 - Don't apply -monly-n-reg patches to _regBlah functions (profiling cost-centre register things) --- diff --git a/ghc/driver/ghc-asm.lprl b/ghc/driver/ghc-asm.lprl index 6d49219..e640f42 100644 --- a/ghc/driver/ghc-asm.lprl +++ b/ghc/driver/ghc-asm.lprl @@ -1154,7 +1154,8 @@ sub print_doctored { local($_, $need_fallthru_patch) = @_; if ( $TargetPlatform !~ /^i386-/ - || ! /^\t[a-z]/ ) { # no instructions in here, apparently + || ! /^\t[a-z]/ # no instructions in here, apparently + || /^${T_US}_reg[A-Za-z0-9_]+:/) { print OUTASM $_; return; }