Moved some ia32 independent code to bemain.
[libfirm] / ir / ana / irextbb2.c
index 3c934c2..602e393 100644 (file)
@@ -23,7 +23,7 @@
  * @author    Matthias Braun
  * @date      5.2005
  * @version   $Id$
- * @summary
+ * @brief
  *  Alternative algorithm for computing extended basic blocks (using out edges
  *  and execution frequencies)
  */
@@ -50,7 +50,7 @@ typedef struct _env {
  */
 static ir_extblk *allocate_extblk(ir_node *block, env_t *env)
 {
-       ir_extblk *extblk = obstack_alloc(env->obst, sizeof(*extblk));
+       ir_extblk *extblk = OALLOC(env->obst, ir_extblk);
 
        extblk->kind    = k_ir_extblk;
        extblk->visited = 1;