]> granicus.if.org Git - yasm/commitdiff
* arch.h (yasm_arch_reggroup_get_reg): Add macro implementation.
authorPeter Johnson <peter@tortall.net>
Sun, 25 Sep 2005 03:47:13 +0000 (03:47 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 25 Sep 2005 03:47:13 +0000 (03:47 -0000)
svn path=/trunk/yasm/; revision=1238

libyasm/arch.h

index 002b9208be91861764aff3e53e043221db251518..760c869fceb74651134cec5a670af51c6085c19a 100644 (file)
@@ -513,6 +513,8 @@ yasm_effaddr *yasm_arch_ea_create(yasm_arch *arch, /*@keep@*/ yasm_expr *e);
        (arch, intn, buf, destsize, valsize, shift, bc, warn, line)
 #define yasm_arch_get_reg_size(arch, reg) \
     ((yasm_arch_base *)arch)->module->get_reg_size(arch, reg)
+#define yasm_arch_reggroup_get_reg(arch, regg, regi) \
+    ((yasm_arch_base *)arch)->module->reggroup_get_reg(arch, regg, regi)
 #define yasm_arch_reg_print(arch, reg, f) \
     ((yasm_arch_base *)arch)->module->reg_print(arch, reg, f)
 #define yasm_arch_segreg_print(arch, segreg, f) \