bugfix in arch_reg_req_is ## macro
authorDaniel Grund <grund@cs.uni-saarland.de>
Tue, 17 Jan 2006 10:26:58 +0000 (10:26 +0000)
committerDaniel Grund <grund@cs.uni-saarland.de>
Tue, 17 Jan 2006 10:26:58 +0000 (10:26 +0000)
ir/be/bearch.h

index caf9294..534a1df 100644 (file)
@@ -143,7 +143,7 @@ typedef enum _arch_register_req_type_t {
  * @return      1, If the kind of constraint is present, 0 if not.
  */
 #define arch_register_req_is(req, kind) \
-       ((req)->type & (arch_register_req_type_ ## kind) != 0)
+       (((req)->type & (arch_register_req_type_ ## kind)) != 0)
 
 /**
  * Expresses requirements to register allocation for an operand.