From 1bb7652484e1c7ca2cd7fcab858b4bbb18509879 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 24 Feb 2017 09:48:53 -0500 Subject: deduplicate loadsz & storesz --- load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'load.c') diff --git a/load.c b/load.c index ca7d492..3e22b57 100644 --- a/load.c +++ b/load.c @@ -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) { -- cgit v1.2.3