Fix bug preventing use of match_par_dup in a call insn pattern.
* genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output emit call instead of emit_insn call. From-SVN: r28716
This commit is contained in:
parent
e0942dcd7e
commit
d3ca5cdd6c
@ -1,3 +1,8 @@
|
||||
Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
|
||||
emit call instead of emit_insn call.
|
||||
|
||||
Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
|
||||
|
||||
* configure.in: Handle --disable/enable-win32-registry.
|
||||
|
@ -495,10 +495,11 @@ gen_expand (expand)
|
||||
else if (GET_CODE (next) == CODE_LABEL)
|
||||
printf (" emit_label (");
|
||||
else if (GET_CODE (next) == MATCH_OPERAND
|
||||
|| GET_CODE (next) == MATCH_OPERATOR
|
||||
|| GET_CODE (next) == MATCH_PARALLEL
|
||||
|| GET_CODE (next) == MATCH_OP_DUP
|
||||
|| GET_CODE (next) == MATCH_DUP
|
||||
|| GET_CODE (next) == MATCH_OPERATOR
|
||||
|| GET_CODE (next) == MATCH_OP_DUP
|
||||
|| GET_CODE (next) == MATCH_PARALLEL
|
||||
|| GET_CODE (next) == MATCH_PAR_DUP
|
||||
|| GET_CODE (next) == PARALLEL)
|
||||
printf (" emit (");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user