History

capitalize a label

Quentin Carbonneaux committed 4 years ago

Commit 0715a391 parent fb767911 file · +2 −2Browse files

Unified · Split

rv64/emit.c+2−2
@@ -361,14 +361,14 @@ emitins(Ins *i, Fn *fn, FILE *f) · 360 unmodified lines
361 case RCon:361 case RCon:
362 con = &fn->con[i->arg[0].val];362 con = &fn->con[i->arg[0].val];
363 if (con->type != CAddr || con->bits.i)363 if (con->type != CAddr || con->bits.i)
364 goto invalid;364 goto Invalid;
365 fprintf(f, "\tcall %s\n", str(con->label));365 fprintf(f, "\tcall %s\n", str(con->label));
366 break;366 break;
367 case RTmp:367 case RTmp:
368 emitf("jalr %0", i, fn, f);368 emitf("jalr %0", i, fn, f);
369 break;369 break;
370 default:370 default:
371 invalid:371 Invalid:
372 die("invalid call argument");372 die("invalid call argument");
373 }373 }
374 break;374 break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t