From 8384f6dd96ae3899847a56245f17d05b06a3d953 Mon Sep 17 00:00:00 2001 From: sewardj Date: Mon, 19 Feb 2001 11:38:55 +0000 Subject: [PATCH] [project @ 2001-02-19 11:38:55 by sewardj] Expand on comments re StString lifting activity --- ghc/compiler/nativeGen/MachCode.lhs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc/compiler/nativeGen/MachCode.lhs b/ghc/compiler/nativeGen/MachCode.lhs index 455e4ab..cfea55e 100644 --- a/ghc/compiler/nativeGen/MachCode.lhs +++ b/ghc/compiler/nativeGen/MachCode.lhs @@ -91,6 +91,11 @@ stmtsToInstrs stmts ie, the Str is planted in-line, when what we really meant was to place a _reference_ to the string there. liftStrings will lift out all such strings in top-level data and place them at the end of the block. + + This is still a rather half-baked solution -- to do the job entirely right + would mean a complete traversal of all the Stixes, but there's currently no + real need for it, and it would be slow. Also, potentially there could be + literal types other than strings which need lifting out? -} liftStrings :: [StixTree] -- originals -- 1.7.10.4