From 60ec01cc2792b7f6cd0225b961ac77e362384f1f Mon Sep 17 00:00:00 2001 From: simonm Date: Mon, 1 Mar 1999 15:17:43 +0000 Subject: [PATCH] [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) --- ghc/driver/ghc-asm.lprl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4