X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fia32%2Fia32_address_mode.h;h=4b8b7945486c139c2d66f55a87e22e61ee5d40b4;hb=c1fdf770d4d000dd5cf22daead32369342c5f5d1;hp=e7f8de1985e5cee3b0b3361a71eeed89e17fee19;hpb=abe11e75cade753e0f194780ec2fdbc33241f289;p=libfirm diff --git a/ir/be/ia32/ia32_address_mode.h b/ir/be/ia32/ia32_address_mode.h index e7f8de198..4b8b79454 100644 --- a/ir/be/ia32/ia32_address_mode.h +++ b/ir/be/ia32/ia32_address_mode.h @@ -46,10 +46,14 @@ struct ia32_address_t { int symconst_sign; /**< The "sign" of the symconst. */ }; +typedef enum ia32_create_am_flags_t { + ia32_create_am_force = 1U << 0 /**< Ignore the marking of node as a non-address-mode node */ +} ia32_create_am_flags_t; + /** * Create an address mode for a given node. */ -void ia32_create_address_mode(ia32_address_t *addr, ir_node *node, int force); +void ia32_create_address_mode(ia32_address_t *addr, ir_node *node, ia32_create_am_flags_t); /** * Mark those nodes of the given graph that cannot be used inside an