codegen: simplify glue code and emit code for all basicblocks
[mate.git] / Mate / MethodPool.hs
index db83f98b51465b917c3795da42a6dc8439d3ce11..9280112455f8fcba9e57a80bcc15beb64df18366 100644 (file)
@@ -142,7 +142,7 @@ compileBB rawmethod methodinfo = do
   let cgconfig = defaultCodeGenConfig { codeBufferSize = fromIntegral $ rawCodeLength rawmethod * 32 }
   (_, Right right) <- runCodeGenWithConfig ebb () () cgconfig
 
-  let ((entry, _, _, new_tmap), _) = right
+  let ((entry, _, new_tmap), _) = right
   setTrapMap $ tmap `M.union` new_tmap -- prefers elements in tmap
 
   printfJit $ printf "generated code of \"%s\" from \"%s\":\n" (toString $ methName methodinfo) (toString $ methClassName methodinfo)