From 4054c720d8fe5e4e9bae01d444c01addc2c32aba Mon Sep 17 00:00:00 2001 From: sewardj Date: Wed, 23 May 2001 16:47:09 +0000 Subject: [PATCH] [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!) --- ghc/compiler/utils/PrimPacked.lhs | 1 + ghc/compiler/utils/StringBuffer.lhs | 2 ++ 2 files changed, 3 insertions(+) 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, -- 1.7.10.4