diff options
Diffstat (limited to 'compiler/parser/cutils.c')
-rw-r--r-- | compiler/parser/cutils.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler/parser/cutils.c b/compiler/parser/cutils.c index fdaea44cc7..eca3e3d25c 100644 --- a/compiler/parser/cutils.c +++ b/compiler/parser/cutils.c @@ -13,23 +13,6 @@ places in the GHC library. #include <unistd.h> #endif -/* -Calling 'strlen' and 'memcpy' directly gives problems with GCC's inliner, -and causes gcc to require too many registers on x84 -*/ - -HsInt -ghc_strlen( HsPtr a ) -{ - return (strlen((char *)a)); -} - -HsInt -ghc_memcmp( HsPtr a1, HsPtr a2, HsInt len ) -{ - return (memcmp((char *)a1, a2, len)); -} - void enableTimingStats( void ) /* called from the driver */ { |