deduplicate loadsz & storesz

This commit is contained in:
Quentin Carbonneaux 2017-02-24 09:48:53 -05:00
parent f3301026fa
commit 1bb7652484
3 changed files with 4 additions and 27 deletions

4
load.c
View file

@ -42,7 +42,7 @@ static uint inum; /* current insertion number */
static Insert *ilog; /* global insertion log */
static uint nlog; /* number of entries in the log */
static int
int
loadsz(Ins *l)
{
switch (l->op) {
@ -54,7 +54,7 @@ loadsz(Ins *l)
die("unreachable");
}
static int
int
storesz(Ins *s)
{
switch (s->op) {