From: sewardj Date: Wed, 23 May 2001 16:47:09 +0000 (+0000) Subject: [project @ 2001-05-23 16:47:09 by sewardj] X-Git-Tag: Approximately_9120_patches~1887 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4054c720d8fe5e4e9bae01d444c01addc2c32aba;p=ghc-hetmet.git [project @ 2001-05-23 16:47:09 by sewardj] Add {-# OPTION -fvia-C #-} so that the compiler can compile itself in --make mode (yes, really!) --- diff --git a/ghc/compiler/utils/PrimPacked.lhs b/ghc/compiler/utils/PrimPacked.lhs index f12fe6c..d6b25c4 100644 --- a/ghc/compiler/utils/PrimPacked.lhs +++ b/ghc/compiler/utils/PrimPacked.lhs @@ -8,6 +8,7 @@ of bytes (character strings). Used by the interface lexer input subsystem, mostly. \begin{code} +{-# OPTIONS -fvia-C -monly-3-regs #-} module PrimPacked ( strLength, -- :: _Addr -> Int diff --git a/ghc/compiler/utils/StringBuffer.lhs b/ghc/compiler/utils/StringBuffer.lhs index 57ff9f4..8853ed7 100644 --- a/ghc/compiler/utils/StringBuffer.lhs +++ b/ghc/compiler/utils/StringBuffer.lhs @@ -7,6 +7,8 @@ Buffers for scanning string input stored in external arrays. \begin{code} +{-# OPTIONS -fvia-C #-} + module StringBuffer ( StringBuffer,