summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Serrer <philipp@serrer.de>2018-01-25 14:54:30 +0100
committerPhilipp Serrer <philipp@serrer.de>2018-01-25 14:54:30 +0100
commit55fc6d09468d34f85f7b4afc5ef1969bc8dc525d (patch)
tree5e61ca07860a5806dd2b624e28c686be07f5bf0c
parent3f62f8e817730ce44328c12f6d94246ae6c3d1f8 (diff)
Fixed changed method signatures in emit_amd64_call
-rw-r--r--ir/be/amd64/amd64_emitter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/amd64/amd64_emitter.c b/ir/be/amd64/amd64_emitter.c
index 40df64f..dd9df1d 100644
--- a/ir/be/amd64/amd64_emitter.c
+++ b/ir/be/amd64/amd64_emitter.c
@@ -620,9 +620,9 @@ static void emit_amd64_call(const ir_node* node)
if (x_regular_proj == NULL) {
/* Call always throws and/or never returns. */
} else if (!is_fallthrough(x_regular_proj)) {
- amd64_emitf(x_regular_proj, "jmp %L");
+ amd64_emitf(NULL, "jmp %L", x_regular_proj);
} else if (be_options.verbose_asm) {
- amd64_emitf(x_regular_proj, "/* fallthrough to %L */");
+ amd64_emitf(NULL, "/* fallthrough to %L */", x_regular_proj);
}
}
}