use XNEW and related macros more
[deliverable/binutils-gdb.git] / gas / config / bfin-parse.y
index 26070c1499950940f881dfdf6be663b46aa20ec2..a2eaa4cdc53119e8225853a2f9f959b3668f55e8 100644 (file)
@@ -4494,7 +4494,7 @@ expr_1: expr_1 STAR expr_1
 EXPR_T
 mkexpr (int x, SYMBOL_T s)
 {
-  EXPR_T e = (EXPR_T) ALLOCATE (sizeof (struct expression_cell));
+  EXPR_T e = XNEW (struct expression_cell);
   e->value = x;
   EXPR_SYMBOL(e) = s;
   return e;
This page took 0.022937 seconds and 4 git commands to generate.