summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2010-02-13 19:33:58 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2010-02-13 19:33:58 +0100
commit1a26f4853c07d1ecd68a097409dd602edfe29eff (patch)
tree9ad828e465f9b8bc9f9a07e5a0955c02a4623156 /ir/be/bera.c
parent14b4e9b3f48cd53db6c3179283ce8354d5127ce1 (diff)
Put a space after if/for/switch/while.
[r27153]
Diffstat (limited to 'ir/be/bera.c')
-rw-r--r--ir/be/bera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bera.c b/ir/be/bera.c
index 81bc21e..2e7f801 100644
--- a/ir/be/bera.c
+++ b/ir/be/bera.c
@@ -48,7 +48,7 @@ static be_ra_t *selected_allocator = NULL;
void be_register_allocator(const char *name, be_ra_t *allocator)
{
- if(selected_allocator == NULL)
+ if (selected_allocator == NULL)
selected_allocator = allocator;
be_add_module_to_list(&register_allocators, name, allocator);
}
@@ -56,7 +56,7 @@ void be_register_allocator(const char *name, be_ra_t *allocator)
void be_allocate_registers(be_irg_t *birg)
{
assert(selected_allocator != NULL);
- if(selected_allocator != NULL) {
+ if (selected_allocator != NULL) {
selected_allocator->allocate(birg);
}
}