summaryrefslogtreecommitdiffhomepage
path: root/ir/common/firm_common.c
blob: 0a32223488e346272ebbb189ff35846c78062329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is part of libFirm.
 * Copyright (C) 2012 University of Karlsruhe.
 */

/**
 * @file
 * @author    Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck
 */
#include "irloop.h"
#include "tv.h"

/* returns the kind of the thing */
firm_kind get_kind(const void *firm_thing)
{
	return *(firm_kind*)firm_thing;
}