summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Corallo <andrea_corallo@yahoo.it>2019-09-01 14:27:11 +0200
committerAndrea Corallo <akrl@sdf.org>2020-01-01 11:37:41 +0100
commitbfc298ca31d11c09d49d792a88a9f72415bb4513 (patch)
treeb4198cd5c1001d67c01bef626836c300a6669403 /src
parent76021e1e06c5c1af05b658310505da333bc0c214 (diff)
downloademacs-bfc298ca31d11c09d49d792a88a9f72415bb4513.tar.gz
emacs-bfc298ca31d11c09d49d792a88a9f72415bb4513.tar.bz2
emacs-bfc298ca31d11c09d49d792a88a9f72415bb4513.zip
style fix in emit_limple_push_handler
Diffstat (limited to 'src')
-rw-r--r--src/comp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/comp.c b/src/comp.c
index bf1ff3be5d5..77b160c096d 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1132,7 +1132,6 @@ emit_limple_push_handler (gcc_jit_rvalue *handler, gcc_jit_rvalue *handler_type,
/* Ex: (push-handler #s(comp-mvar 6 0 t (arith-error) nil) 1 bb_3 bb_2). */
static unsigned pushhandler_n; /* FIXME move at ctxt or func level. */
- gcc_jit_rvalue *args[2];
/* struct handler *c = push_handler (POP, type); */
gcc_jit_lvalue *c =
@@ -1141,8 +1140,8 @@ emit_limple_push_handler (gcc_jit_rvalue *handler, gcc_jit_rvalue *handler_type,
comp.handler_ptr_type,
format_string ("c_%u",
pushhandler_n));
- args[0] = handler;
- args[1] = handler_type;
+
+ gcc_jit_rvalue *args[] = { handler, handler_type };
gcc_jit_block_add_assignment (
comp.block,
NULL,