TODO: update; Debug: note about `printfFake'
authorBernhard Urban <lewurm@gmail.com>
Fri, 17 Aug 2012 17:21:45 +0000 (19:21 +0200)
committerBernhard Urban <lewurm@gmail.com>
Mon, 13 Aug 2012 16:24:48 +0000 (18:24 +0200)
Mate/Debug.hs
doc/TODO

index 8c1ca63b6b0293a06845f3d307a1fdefa30b7e63..dc8954eb84cb4eb184842209aa46a3c654d5deec 100644 (file)
@@ -16,6 +16,7 @@ instance VarArgsFake (IO a) where
 instance (Show a, VarArgsFake r) => VarArgsFake (a -> r) where
   varFake _ _ = varFake []
 
+-- note: with -O2 GHC is able to completely optimize away such a `printfFake' call
 printfFake :: String -> (VarArgsFake t) => t
 printfFake _ = varFake []
 
index 2e441d727a8e66133108344a7cc93f8a4240f151..f65d294d46cf90aa4fc9fd664c3307602d2845db 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
        -> depends on: exceptions, jni (?)
        -> estimated effort: unknown
 
+(m) hoopl
+       -> for "frontEnd analysis"
+       -> transition to MIR (Mate IR)?
+
+(h) switch statement (basically lookupswitch insn)
+
 (m) testing: hunit? quickcheck? other?
        -> we have `make tests' now, but it should be only considered as
           high-level test. we need something
 (l) get rid of missingh
        -> huge dependency and we just need one function of it
 
+(l) get more details what takes time
+       -> use Data.Time.Clock
+       -> seperate analysis, jit, execution, ...
+       -> maybe use ghc profiling? (it doesn't measure native execution, but well)
+
 
 (l) ... low priority
 (m) ... medium priority