Commit f8d8fe25 authored by Loren Merritt's avatar Loren Merritt Committed by Ronald S. Bultje

x86inc: clip num_args to 7 on x86-32.

This allows us to unconditionally set the cglobal num_args
parameter to a bigger value, thus making writing yasm code
even easier than before.
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 96c9cc10
......@@ -441,6 +441,9 @@ DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14
%macro PROLOGUE 2-4+ ; #args, #regs, #xmm_regs, arg_names...
%assign num_args %1
%assign regs_used %2
%if num_args > 7
%assign num_args 7
%endif
%if regs_used > 7
%assign regs_used 7
%endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment