From 2c2e22eeb611db6eea94d8797dd242431dc62549 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 28 Nov 2005 22:36:05 +0000 Subject: [PATCH] get_default_cc_mask() added [r7003] --- ir/tr/type.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ir/tr/type.c b/ir/tr/type.c index 1ba1dda14..f5b3a1e31 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -90,6 +90,11 @@ static ident *value_ress_suffix = NULL; /** The default calling convention for method types. */ static unsigned default_cc_mask; +/* return the default calling convention for method types */ +unsigned get_default_cc_mask(void) { + return default_cc_mask; +} + /* Initialize the type module. */ void firm_init_type(dbg_info *builtin_db, unsigned def_cc_mask) { -- 2.20.1