X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Futils%2FStringBuffer.lhs;h=5d1bfa60861781e17bf8528ad1bb7e33bdeceebd;hp=869cb8ac84118c75d514c5973cc4c8bb247e5c35;hb=5289f5d85610f71625a439747a09384876655eb5;hpb=4db9ea9ec8b4ae0db74259bb87319643de1fd469 diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs index 869cb8a..5d1bfa6 100644 --- a/compiler/utils/StringBuffer.lhs +++ b/compiler/utils/StringBuffer.lhs @@ -6,6 +6,7 @@ Buffers for scanning string input stored in external arrays. \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS_GHC -O -funbox-strict-fields #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected