mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
it is IFL1 not IFL2 (#21010)
This commit is contained in:
parent
7c95446800
commit
0312e82726
2 changed files with 2 additions and 2 deletions
|
@ -292,7 +292,7 @@ int isscaledindex(tym_t ty, elem* e)
|
||||||
@trusted
|
@trusted
|
||||||
void logexp(ref CodeBuilder cdb, elem* e, uint jcond, FL fltarg, code* targ)
|
void logexp(ref CodeBuilder cdb, elem* e, uint jcond, FL fltarg, code* targ)
|
||||||
{
|
{
|
||||||
//printf("logexp(e = %p, jcond = %d)\n", e, jcond); elem_print(e);
|
//printf("logexp(e: %p jcond: %d fltarg: %d targ: %p)\n", e, jcond, fltarg == FL.code, targ); elem_print(e);
|
||||||
if (tybasic(e.Ety) == TYnoreturn)
|
if (tybasic(e.Ety) == TYnoreturn)
|
||||||
{
|
{
|
||||||
con_t regconsave = cgstate.regcon;
|
con_t regconsave = cgstate.regcon;
|
||||||
|
|
|
@ -1527,7 +1527,7 @@ void jmpaddr(code* c)
|
||||||
{
|
{
|
||||||
const op = c.Iop;
|
const op = c.Iop;
|
||||||
//printf("%08X ", c.Iop); disassemble(c.Iop);
|
//printf("%08X ", c.Iop); disassemble(c.Iop);
|
||||||
if (isBranch(op) && c.IFL2 == FL.code) // or CALL?
|
if (isBranch(op) && c.IFL1 == FL.code) // or CALL?
|
||||||
{
|
{
|
||||||
ci = code_next(c);
|
ci = code_next(c);
|
||||||
ctarg = c.IEV1.Vcode; /* target code */
|
ctarg = c.IEV1.Vcode; /* target code */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue